[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43624] trunk/blender/intern/cycles/ blender/addon/ui.py: Cycles Textures:

Thomas Dinges blender at dingto.org
Sun Jan 22 23:59:29 CET 2012


Revision: 43624
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43624
Author:   dingto
Date:     2012-01-22 22:59:21 +0000 (Sun, 22 Jan 2012)
Log Message:
-----------
Cycles Textures:
* Remove the "Use nodes" button, the TextureOutput node was never ported to trunk from the cycles branch. 

Modified Paths:
--------------
    trunk/blender/intern/cycles/blender/addon/ui.py

Modified: trunk/blender/intern/cycles/blender/addon/ui.py
===================================================================
--- trunk/blender/intern/cycles/blender/addon/ui.py	2012-01-22 22:43:21 UTC (rev 43623)
+++ trunk/blender/intern/cycles/blender/addon/ui.py	2012-01-22 22:59:21 UTC (rev 43624)
@@ -610,16 +610,11 @@
                 col.template_ID(user, "texture", new="texture.new")
 
             if tex:
-                row = split.row()
-                row.prop(tex, "use_nodes", icon="NODETREE", text="")
-                row.label()
+                split = layout.split(percentage=0.2)
+                split.label(text="Type:")
+                split.prop(tex, "type", text="")
 
-                if not tex.use_nodes:
-                    split = layout.split(percentage=0.2)
-                    split.label(text="Type:")
-                    split.prop(tex, "type", text="")
 
-
 class CyclesTexture_PT_nodes(CyclesButtonsPanel, Panel):
     bl_label = "Nodes"
     bl_context = "texture"



More information about the Bf-blender-cvs mailing list