Merge pull request #468 from Areloch/shapeEdListFix_Followup

Missed a function where similar to previous was needed for the shape editor list fix to ensure it works both ways
This commit is contained in:
Brian Roberts 2021-02-13 00:20:31 -06:00 committed by GitHub
commit 331200ba69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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