[Bf-blender-cvs] [2f7bec04e8e] master: Asset Browser: Fix incorrect user message
Julian Eisel
noreply at git.blender.org
Tue Nov 30 13:01:31 CET 2021
Commit: 2f7bec04e8e7e423f11767535b469cdeb5062b14
Author: Julian Eisel
Date: Tue Nov 30 12:56:46 2021 +0100
Branches: master
https://developer.blender.org/rB2f7bec04e8e7e423f11767535b469cdeb5062b14
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.
===================================================================
M release/scripts/startup/bl_ui/space_filebrowser.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_filebrowser.py b/release/scripts/startup/bl_ui/space_filebrowser.py
index 5c34602d1c8..e33cf8d6cfb 100644
--- a/release/scripts/startup/bl_ui/space_filebrowser.py
+++ b/release/scripts/startup/bl_ui/space_filebrowser.py
@@ -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
More information about the Bf-blender-cvs
mailing list