2
0
Эх сурвалжийг харах

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 жил өмнө
parent
commit
11e13dddf0

+ 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)