mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-27 18:43: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
|
|
@ -1635,7 +1635,7 @@ void TSStatic::getUtilizedAssets(Vector<StringTableEntry>* usedAssetsList)
|
|||
//These functions are duplicated in tsStatic and shapeBase.
|
||||
//They each function a little differently; but achieve the same purpose of gathering
|
||||
//target names/counts without polluting simObject.
|
||||
|
||||
#ifdef TORQUE_TOOLS
|
||||
void TSStatic::onInspect(GuiInspector* inspector)
|
||||
{
|
||||
if (mShapeAsset == nullptr)
|
||||
|
|
@ -1716,7 +1716,7 @@ void TSStatic::onInspect(GuiInspector* inspector)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
DefineEngineMethod(TSStatic, getTargetName, const char*, (S32 index), (0),
|
||||
"Get the name of the indexed shape material.\n"
|
||||
"@param index index of the material to get (valid range is 0 - getTargetCount()-1).\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue