mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Adds the necessary ifdef flags to re-enable the ability to build with tools disabled
This commit is contained in:
parent
a0838b58f2
commit
cac068d2c5
6 changed files with 14 additions and 3 deletions
|
|
@ -129,6 +129,8 @@ void SubScene::onInspect(GuiInspector* inspector)
|
|||
{
|
||||
Parent::onInspect(inspector);
|
||||
|
||||
#ifdef TORQUE_TOOLS
|
||||
|
||||
//Put the SubScene group before everything that'd be SubScene-effecting, for orginazational purposes
|
||||
GuiInspectorGroup* subsceneGrp = inspector->findExistentGroup(StringTable->insert("SubScene"));
|
||||
if (!subsceneGrp)
|
||||
|
|
@ -165,6 +167,7 @@ void SubScene::onInspect(GuiInspector* inspector)
|
|||
saveButton->setConsoleCommand(szBuffer);
|
||||
|
||||
saveFieldGui->addObject(saveButton);
|
||||
#endif
|
||||
}
|
||||
|
||||
void SubScene::inspectPostApply()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue