Phase 2: #ifdef for Zodiacs and particles

This commit is contained in:
Marc Chapman 2018-01-23 22:03:18 +00:00
parent 0c65f9ee8e
commit b8f722e2f9
7 changed files with 38 additions and 13 deletions

View file

@ -56,8 +56,9 @@
#include "T3D/physics/physicsBody.h"
#include "T3D/physics/physicsCollision.h"
#include "environment/nodeListManager.h"
#ifdef TORQUE_AFX_ENABLED
#include "afx/ce/afxZodiacMgr.h"
#endif
#define MIN_METERS_PER_SEGMENT 1.0f
#define MIN_NODE_DEPTH 0.25f
@ -829,7 +830,9 @@ void MeshRoad::prepRenderImage( SceneRenderState* state )
// otherwise obey the smShowRoad flag
if ( smShowRoad || !smEditorOpen )
{
#ifdef TORQUE_AFX_ENABLED
afxZodiacMgr::renderMeshRoadZodiacs(state, this);
#endif
MeshRenderInst coreRI;
coreRI.clear();
coreRI.objectToWorld = &MatrixF::Identity;