diff --git a/Templates/BaseGame/game/tools/shapeEditor/main.tscript b/Templates/BaseGame/game/tools/shapeEditor/main.tscript index c42a451dc..ac3f972a0 100644 --- a/Templates/BaseGame/game/tools/shapeEditor/main.tscript +++ b/Templates/BaseGame/game/tools/shapeEditor/main.tscript @@ -155,7 +155,7 @@ function ShapeEditorPlugin::openShapeAssetId(%this, %assetId) { %this.selectedAssetDef = AssetDatabase.acquireAsset(%assetId); //%this.selectedAssetDef = %assetDef; - %this.open(%this.selectedAssetDef.getShapeFile()); + %this.open(makeRelativePath(%this.selectedAssetDef.getShapeFile())); } function ShapeEditorPlugin::open(%this, %filename)