mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +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
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue