[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43625] trunk/blender/release/scripts/ startup/bl_ui/space_node.py: Cycles UI:

Thomas Dinges blender at dingto.org
Mon Jan 23 00:13:32 CET 2012


Revision: 43625
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43625
Author:   dingto
Date:     2012-01-22 23:13:24 +0000 (Sun, 22 Jan 2012)
Log Message:
-----------
Cycles UI:
* Add World ID Block to World Shader Nodes.

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/space_node.py

Modified: trunk/blender/release/scripts/startup/bl_ui/space_node.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_node.py	2012-01-22 22:59:21 UTC (rev 43624)
+++ trunk/blender/release/scripts/startup/bl_ui/space_node.py	2012-01-22 23:13:24 UTC (rev 43625)
@@ -58,6 +58,9 @@
                 # Don't show "Use Nodes" Button when Engine is BI for Lamps
                 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':
+                layout.template_ID(scene, "world", new="world.new")
 
         elif snode.tree_type == 'TEXTURE':
             layout.prop(snode, "texture_type", text="", expand=True)



More information about the Bf-blender-cvs mailing list