Adds the necessary ifdef flags to re-enable the ability to build with tools disabled

This commit is contained in:
JeffR 2025-05-17 18:41:15 -05:00
parent a0838b58f2
commit cac068d2c5
6 changed files with 14 additions and 3 deletions

View file

@ -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()