瀏覽代碼

Merge pull request #1034 from Azaezel/alpha41/TreeUnTrimming

fix forest element inspector
Brian Roberts 2 年之前
父節點
當前提交
cf233367a8

+ 1 - 1
Engine/source/forest/forestItem.cpp

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

+ 1 - 1
Templates/BaseGame/game/tools/forestEditor/forestEditorGui.tscript

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