Expands/Cleans up a lot of the asset functionality, including management, file association, and creation/importing

This commit is contained in:
Areloch 2019-05-04 11:49:42 -05:00
parent ba2e9f1547
commit ddfc416418
73 changed files with 4468 additions and 1876 deletions

View file

@ -145,10 +145,9 @@ function ShapeEditorPlugin::onWorldEditorStartup(%this)
}
}
function ShapeEditorPlugin::openShapeAsset(%this, %assetId)
function ShapeEditorPlugin::openShapeAsset(%this, %assetDef)
{
%this.selectedAssetId = %assetId;
%this.selectedAssetDef = AssetDatabase.acquireAsset(%assetId);
%this.selectedAssetDef = %assetDef;
%this.open(%this.selectedAssetDef.fileName);
}