diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2015-05-06 22:54:13 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2015-05-06 22:55:35 +0300 |
commit | 7c3a714124f1c5292284cec249052a26500cac5d (patch) | |
tree | fdb608ec3a06fa3c858a5909ad26a3c3a1c7479b /release/scripts/startup/bl_ui/space_node.py | |
parent | 4a5933bb74c4658c5ae35bafa4f0f6145a0430a5 (diff) |
Fix T44624: world menu appears in node editor header with Blender internal.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_node.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_node.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_node.py b/release/scripts/startup/bl_ui/space_node.py index 18890aadc93..e20d980db58 100644 --- a/release/scripts/startup/bl_ui/space_node.py +++ b/release/scripts/startup/bl_ui/space_node.py @@ -67,7 +67,7 @@ class NODE_HT_header(Header): if snode_id and not (scene.render.use_shading_nodes == 0 and ob.type == 'LAMP'): layout.prop(snode_id, "use_nodes") - if snode.shader_type == 'WORLD': + if scene.render.use_shading_nodes and snode.shader_type == 'WORLD': row = layout.row() row.enabled = not snode.pin row.template_ID(scene, "world", new="world.new") |