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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2015-05-06 22:54:13 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2015-05-06 22:55:35 +0300
commit7c3a714124f1c5292284cec249052a26500cac5d (patch)
treefdb608ec3a06fa3c858a5909ad26a3c3a1c7479b
parent4a5933bb74c4658c5ae35bafa4f0f6145a0430a5 (diff)
Fix T44624: world menu appears in node editor header with Blender internal.
-rw-r--r--release/scripts/startup/bl_ui/space_node.py2
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")