Răsfoiți Sursa

Fixes the constructor path compare logic in the shape editor so the lists can populate correctly.

Areloch 4 ani în urmă
părinte
comite
372a7887be
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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)