diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-03-08 23:53:01 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-03-08 23:53:01 +0400 |
commit | 284fcd2df22ff7539cc9affbc819293fd3acd5e1 (patch) | |
tree | 80a9bb11e172be10440fd28abe715bc73af74479 /intern | |
parent | 9b8dae71a5e0f5cccb4031dbe5f07aae01744c82 (diff) |
Cycles: fix UI when material has nodes but use nodes option is disabled, it
didn't show this option then.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 5897ddb6358..745fb8366da 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -401,7 +401,7 @@ def find_node_input(node, name): def panel_node_draw(layout, id_data, output_type, input_name): - if not id_data.node_tree: + if not id_data.use_nodes: layout.prop(id_data, "use_nodes", icon='NODETREE') return False |