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:
parent
2af6cb9dce
commit
24a79289b0
Notes:
blender-bot
2023-02-13 16:59:19 +01:00
Referenced by issue #93479, 3.0 Potential candidates for corrective releases
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue