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

@ -117,6 +117,8 @@ void SceneGroup::inspectPostApply()
void SceneGroup::onInspect(GuiInspector* inspector)
{
Parent::onInspect(inspector);
#ifdef TORQUE_TOOLS
//Put the SubScene group before everything that'd be SubScene-effecting, for orginazational purposes
GuiInspectorGroup* sceneGroupGrp = inspector->findExistentGroup(StringTable->insert("Editing"));
@ -154,6 +156,7 @@ void SceneGroup::onInspect(GuiInspector* inspector)
regenButton->setConsoleCommand(rgBuffer);
regenFieldGui->addObject(regenButton);
#endif
}
void SceneGroup::setTransform(const MatrixF& mat)