Fix for python error in material panel.
This commit is contained in:
parent
c547323f1c
commit
d8792465e0
@ -118,6 +118,7 @@ class MATERIAL_PT_context_material(MaterialButtonsPanel):
|
||||
if ob:
|
||||
split.template_ID(ob, "active_material", new="material.new")
|
||||
row = split.row()
|
||||
if mat:
|
||||
row.prop(mat, "use_nodes", icon="NODETREE", text="")
|
||||
|
||||
if slot:
|
||||
|
Loading…
Reference in New Issue
Block a user