mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
Added the makeRelative call to the other openShapeAsset function to ensure it works both ways
This commit is contained in:
parent
11e13dddf0
commit
931556c3c6
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ function ShapeEditorPlugin::openShapeAssetId(%this, %assetId)
|
||||||
{
|
{
|
||||||
%this.selectedAssetDef = AssetDatabase.acquireAsset(%assetId);
|
%this.selectedAssetDef = AssetDatabase.acquireAsset(%assetId);
|
||||||
//%this.selectedAssetDef = %assetDef;
|
//%this.selectedAssetDef = %assetDef;
|
||||||
%this.open(%this.selectedAssetDef.getShapeFile());
|
%this.open(makeRelativePath(%this.selectedAssetDef.getShapeFile()));
|
||||||
}
|
}
|
||||||
|
|
||||||
function ShapeEditorPlugin::open(%this, %filename)
|
function ShapeEditorPlugin::open(%this, %filename)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue