-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Currently when dragging audio in the main library manager view, it will always add a new audio asset and add to that (TEMP).
A nice improvement to the workflow would be to add support for adding the audio entity to a selected asset. I have tested the following logic locally and it seems to work.
LibraryWindowManager.LibraryFactory
- Update all lines which call CreateAsset(BroName.TempAssetName)
to call the following method instead:
private AudioAssetEditor GetAudioAssetEditor()
{
if (_currSelectedAssetIndex != -1)
{
if (_assetEditorDict.TryGetValue(_allAssetGUIDs[_currSelectedAssetIndex], out var editor))
{
if (editor.Asset != null)
{
return editor;
}
}
}
return CreateAsset(BroName.TempAssetName);
}
Metadata
Metadata
Assignees
Labels
No labels