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

This commit is contained in:
Areloch 2021-02-12 00:21:36 -06:00
parent dcf176f043
commit 372a7887be

View file

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