فهرست منبع

Merge pull request #1034 from Azaezel/alpha41/TreeUnTrimming

fix forest element inspector
Brian Roberts 2 سال پیش
والد
کامیت
cf233367a8
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      Engine/source/forest/forestItem.cpp
  2. 1 1
      Templates/BaseGame/game/tools/forestEditor/forestEditorGui.tscript

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