Skip to content

Commit

Permalink
Merge pull request #1034 from Azaezel/alpha41/TreeUnTrimming
Browse files Browse the repository at this point in the history
fix forest element inspector
  • Loading branch information
Azaezel authored Jun 17, 2023
2 parents 06e4ce0 + fd758b1 commit cf23336
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Engine/source/forest/forestItem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";
Expand Down

0 comments on commit cf23336

Please sign in to comment.