Fixed SceneGroup onInspect call to call up through parent

Adds utility methods and SimGroup onInspect injection to add a select button in inspector to select objects under simgroup
This commit is contained in:
Areloch 2024-09-03 18:25:28 -05:00
parent 4bb26bf96c
commit 6ff92f61bb
2 changed files with 76 additions and 0 deletions

View file

@ -116,6 +116,8 @@ void SceneGroup::inspectPostApply()
void SceneGroup::onInspect(GuiInspector* inspector)
{
Parent::onInspect(inspector);
//Put the SubScene group before everything that'd be SubScene-effecting, for orginazational purposes
GuiInspectorGroup* sceneGroupGrp = inspector->findExistentGroup(StringTable->insert("SceneGroup"));
if (!sceneGroupGrp)