Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-07-18 19:13:19 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-07-18 19:13:19 +0400
commit62ffc2ab1495ff54bd192e0e6d5696f07d87c5f4 (patch)
tree450c987e97e0c5bcfe3ad7c740bc3a247c2799a7
parentbeb4bec453b1b6fcfc576c0595db1c0783394c25 (diff)
update from venomgfx, have the node toggle rather then an icon.
-rw-r--r--release/scripts/ui/properties_material.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/ui/properties_material.py b/release/scripts/ui/properties_material.py
index b15b77e8c2f..57488a57b89 100644
--- a/release/scripts/ui/properties_material.py
+++ b/release/scripts/ui/properties_material.py
@@ -118,8 +118,8 @@ class MATERIAL_PT_context_material(MaterialButtonsPanel):
if ob:
split.template_ID(ob, "active_material", new="material.new")
row = split.row()
- if mat.use_nodes:
- row.label(icon="NODETREE")
+ row.prop(mat, "use_nodes", icon="NODETREE", text="")
+
if slot:
row.prop(slot, "link", text="")
else: