Imported in UI sounds

Fixed asset properties editing so it applies after saving
Added fix for making sound asset preview playback properly
This commit is contained in:
Areloch 2021-09-04 02:27:21 -05:00
parent cd1fd1ccf4
commit df0f8dafa6
5 changed files with 56 additions and 5 deletions

View file

@ -1178,7 +1178,7 @@ function AssetBrowserPreviewButton::onRightClick(%this)
EditAssetPopup.enableItem(7, true);
//Is it an editable type?
if(%assetType $= "ImageAsset" /*|| %assetType $= "GameObjectAsset"*/ || %assetType $= "CppAsset" || %assetType $= "SoundAsset")
if(%assetType $= "ImageAsset" /*|| %assetType $= "GameObjectAsset"*/ || %assetType $= "CppAsset")
{
EditAssetPopup.enableItem(0, false);
}