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
3692c0521c
commit
2f7bec04e8
Notes:
blender-bot
2023-02-14 11:18:07 +01:00
Referenced by issue #93479, 3.0 Potential candidates for corrective releases Referenced by issue #93482, Asset Browser: Search result of previously selected asset
|
@ -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