Merge pull request #467 from Areloch/shapeEdListFix

Fixes the constructor path compare logic in the shape editor so the lists can populate correctly.
This commit is contained in:
Brian Roberts 2021-02-12 14:37:59 -06:00 committed by GitHub
commit 11e13dddf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)