diff options
author | Thomas Dinges <blender@dingto.org> | 2012-01-25 00:10:37 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2012-01-25 00:10:37 +0400 |
commit | c905415f6bf498ebf0351aae040ea52983a5b36e (patch) | |
tree | 7676bd2f57dfb3f0a8d55f41f947444eedbc0e0d /release | |
parent | 439e9a39a8dd16076648d8e3eaa6a721ce349a57 (diff) |
Cycles Node Editor:
* Add Use Nodes button for World shader type
* UI was not redrawing the Node area, when enabling "Use nodes", added check for it to the listener.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_node.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_node.py b/release/scripts/startup/bl_ui/space_node.py index e1a599dca2e..f875fab415f 100644 --- a/release/scripts/startup/bl_ui/space_node.py +++ b/release/scripts/startup/bl_ui/space_node.py @@ -61,6 +61,7 @@ class NODE_HT_header(Header): if snode.shader_type == 'WORLD': layout.template_ID(scene, "world", new="world.new") + layout.prop(snode_id, "use_nodes") elif snode.tree_type == 'TEXTURE': layout.prop(snode, "texture_type", text="", expand=True) |