From 372a7887be3502dcd0fb69d5805cad56cf8a8568 Mon Sep 17 00:00:00 2001 From: Areloch Date: Fri, 12 Feb 2021 00:21:36 -0600 Subject: [PATCH] Fixes the constructor path compare logic in the shape editor so the lists can populate correctly. --- Templates/BaseGame/game/tools/shapeEditor/main.tscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)