mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
fix forest element inspector
This commit is contained in:
parent
06e4ce01a9
commit
fd758b1736
|
|
@ -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 ),
|
||||
|
|
|
|||
|
|
@ -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 = "";
|
||||
|
|
|
|||
Loading…
Reference in a new issue