Asset Browser: Fix incorrect user message

Text would display "No asset selected" when it actually inidicates that
there is no asset active (not selected). Changed it to "No active asset"
now.
This commit is contained in:
2021-11-30 12:56:46 +01:00
parent 3692c0521c
commit 2f7bec04e8

View File

@@ -707,7 +707,7 @@ class ASSETBROWSER_PT_metadata(asset_utils.AssetBrowserPanel, Panel):
asset_file_handle = context.asset_file_handle
if asset_file_handle is None:
layout.label(text="No asset selected", icon='INFO')
layout.label(text="No active asset", icon='INFO')
return
asset_library_ref = context.asset_library_ref