diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-09-02 18:14:02 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-09-02 18:14:02 +0400 |
commit | 55daa3cc6bb8e939a5112217f161d256f6d72485 (patch) | |
tree | bc98fee4a140c85bb1aeb9531af824f7838d4116 /release/scripts | |
parent | 529c6d0eeb845da8706db6ab0bb27a1ae3907d9b (diff) |
Fix #36640: node editor header with world nodes not drawing correct after recent bugfix.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_node.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_node.py b/release/scripts/startup/bl_ui/space_node.py index 436170d2ca3..843bafabdec 100644 --- a/release/scripts/startup/bl_ui/space_node.py +++ b/release/scripts/startup/bl_ui/space_node.py @@ -65,6 +65,8 @@ class NODE_HT_header(Header): layout.prop(snode_id, "use_nodes") if snode.shader_type == 'WORLD': + row = layout.row() + row.enabled = not snode.pin row.template_ID(scene, "world", new="world.new") if snode_id: row.prop(snode_id, "use_nodes") |