Merge pull request #1034 from Azaezel/alpha41/TreeUnTrimming

fix forest element inspector
This commit is contained in:
Brian Roberts 2023-06-17 15:14:58 -05:00 committed by GitHub
commit cf233367a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 = "";