[Bf-blender-cvs] [55c4917339a] asset-browser: Fix leftover "focused_id", causing "Make Asset" on material slots to fail

Julian Eisel noreply at git.blender.org
Fri Dec 4 11:41:29 CET 2020


Commit: 55c4917339a131018867a205567258262c410a12
Author: Julian Eisel
Date:   Fri Dec 4 11:38:18 2020 +0100
Branches: asset-browser
https://developer.blender.org/rB55c4917339a131018867a205567258262c410a12

Fix leftover "focused_id", causing "Make Asset" on material slots to fail

===================================================================

M	release/scripts/startup/bl_ui/properties_material.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_material.py b/release/scripts/startup/bl_ui/properties_material.py
index cd6bebfea94..47ab98386f4 100644
--- a/release/scripts/startup/bl_ui/properties_material.py
+++ b/release/scripts/startup/bl_ui/properties_material.py
@@ -43,7 +43,7 @@ class MATERIAL_UL_matslots(UIList):
         slot = item
         ma = slot.material
 
-        layout.context_pointer_set("focused_id", ma)
+        layout.context_pointer_set("id", ma)
 
         if self.layout_type in {'DEFAULT', 'COMPACT'}:
             if ma:



More information about the Bf-blender-cvs mailing list