mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
fix forest element inspector
This commit is contained in:
parent
06e4ce01a9
commit
fd758b1736
2 changed files with 2 additions and 2 deletions
|
|
@ -65,7 +65,7 @@ void ForestItemData::initPersistFields()
|
||||||
|
|
||||||
addProtectedField( "shapeFile", TypeShapeFilename, Offset( mShapeName, ForestItemData ), &_setShapeData, &defaultProtectedGetFn,
|
addProtectedField( "shapeFile", TypeShapeFilename, Offset( mShapeName, ForestItemData ), &_setShapeData, &defaultProtectedGetFn,
|
||||||
"Shape file for this item type", AbstractClassRep::FIELD_HideInInspectors );
|
"Shape file for this item type", AbstractClassRep::FIELD_HideInInspectors );
|
||||||
endGroup( "Shape(s)" );
|
endGroup( "Shapes" );
|
||||||
|
|
||||||
addGroup("Physics");
|
addGroup("Physics");
|
||||||
addField( "collidable", TypeBool, Offset( mCollidable, ForestItemData ),
|
addField( "collidable", TypeBool, Offset( mCollidable, ForestItemData ),
|
||||||
|
|
|
||||||
|
|
@ -482,7 +482,7 @@ function ForestEditorInspector::inspect( %this, %obj )
|
||||||
%this.groupFilters = "+ForestBrushElement,-Ungrouped";
|
%this.groupFilters = "+ForestBrushElement,-Ungrouped";
|
||||||
|
|
||||||
case "TSForestItemData":
|
case "TSForestItemData":
|
||||||
%this.groupFilters = "+Media,+Wind";
|
%this.groupFilters = "+Shapes,+Physics,+Wind,";
|
||||||
|
|
||||||
default:
|
default:
|
||||||
%this.groupFilters = "";
|
%this.groupFilters = "";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue