mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
fix TORQUE_TOOLS = off compilation
This commit is contained in:
parent
9836f6eb30
commit
4a7104e5ea
38 changed files with 80 additions and 56 deletions
|
|
@ -115,9 +115,10 @@ ReflectionProbe::ReflectionProbe()
|
|||
mStaticCubemap = NULL;
|
||||
mProbeUniqueID = "";
|
||||
|
||||
#ifdef TORQUE_TOOLS
|
||||
mEditorShapeInst = NULL;
|
||||
mEditorShape = NULL;
|
||||
|
||||
#endif
|
||||
mRefreshRateMS = 200;
|
||||
mDynamicLastBakeMS = 0;
|
||||
|
||||
|
|
@ -135,9 +136,11 @@ ReflectionProbe::ReflectionProbe()
|
|||
|
||||
ReflectionProbe::~ReflectionProbe()
|
||||
{
|
||||
|
||||
#ifdef TORQUE_TOOLS
|
||||
if (mEditorShapeInst)
|
||||
SAFE_DELETE(mEditorShapeInst);
|
||||
|
||||
#endif
|
||||
if (mReflectionModeType == StaticCubemap && mStaticCubemap)
|
||||
mStaticCubemap->deleteObject();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue