Browse Source

Merge pull request #467 from Areloch/shapeEdListFix

Fixes the constructor path compare logic in the shape editor so the lists can populate correctly.
Brian Roberts 4 năm trước cách đây
mục cha
commit
11e13dddf0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Templates/BaseGame/game/tools/shapeEditor/main.tscript

+ 1 - 1
Templates/BaseGame/game/tools/shapeEditor/main.tscript

@@ -148,7 +148,7 @@ function ShapeEditorPlugin::onWorldEditorStartup(%this)
 function ShapeEditorPlugin::openShapeAsset(%this, %assetDef)
 {
    %this.selectedAssetDef = %assetDef;
-   %this.open(%this.selectedAssetDef.getShapeFile());
+   %this.open(makeRelativePath(%this.selectedAssetDef.getShapeFile()));
 }
 
 function ShapeEditorPlugin::openShapeAssetId(%this, %assetId)