From fd758b1736a2a3fb4645dbf35a2c7886f6f98b11 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Sat, 17 Jun 2023 11:31:32 -0500 Subject: [PATCH] fix forest element inspector --- Engine/source/forest/forestItem.cpp | 2 +- .../BaseGame/game/tools/forestEditor/forestEditorGui.tscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Engine/source/forest/forestItem.cpp b/Engine/source/forest/forestItem.cpp index 2303bbf53..1032eaf9d 100644 --- a/Engine/source/forest/forestItem.cpp +++ b/Engine/source/forest/forestItem.cpp @@ -65,7 +65,7 @@ void ForestItemData::initPersistFields() addProtectedField( "shapeFile", TypeShapeFilename, Offset( mShapeName, ForestItemData ), &_setShapeData, &defaultProtectedGetFn, "Shape file for this item type", AbstractClassRep::FIELD_HideInInspectors ); - endGroup( "Shape(s)" ); + endGroup( "Shapes" ); addGroup("Physics"); addField( "collidable", TypeBool, Offset( mCollidable, ForestItemData ), diff --git a/Templates/BaseGame/game/tools/forestEditor/forestEditorGui.tscript b/Templates/BaseGame/game/tools/forestEditor/forestEditorGui.tscript index 7b7144ebe..2c2673963 100644 --- a/Templates/BaseGame/game/tools/forestEditor/forestEditorGui.tscript +++ b/Templates/BaseGame/game/tools/forestEditor/forestEditorGui.tscript @@ -482,7 +482,7 @@ function ForestEditorInspector::inspect( %this, %obj ) %this.groupFilters = "+ForestBrushElement,-Ungrouped"; case "TSForestItemData": - %this.groupFilters = "+Media,+Wind"; + %this.groupFilters = "+Shapes,+Physics,+Wind,"; default: %this.groupFilters = "";