fix forest element inspector

This commit is contained in:
AzaezelX 2023-06-17 11:31:32 -05:00
parent 06e4ce01a9
commit fd758b1736
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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 = "";