diff --git a/Templates/BaseGame/game/tools/shapeEditor/main.tscript b/Templates/BaseGame/game/tools/shapeEditor/main.tscript index 02ba758a8..c42a451dc 100644 --- a/Templates/BaseGame/game/tools/shapeEditor/main.tscript +++ b/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)