[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51477] trunk/blender/release/scripts/ startup/bl_ui/properties_texture.py: Texture UI:

Thomas Dinges blender at dingto.org
Sun Oct 21 13:04:07 CEST 2012


Revision: 51477
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51477
Author:   dingto
Date:     2012-10-21 11:04:04 +0000 (Sun, 21 Oct 2012)
Log Message:
-----------
Texture UI:
* Use the full space for the Texture ID Block. 

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

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_texture.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_texture.py	2012-10-21 09:57:25 UTC (rev 51476)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_texture.py	2012-10-21 11:04:04 UTC (rev 51477)
@@ -149,21 +149,16 @@
             col.operator("texture.slot_move", text="", icon='TRIA_DOWN').type = 'DOWN'
             col.menu("TEXTURE_MT_specials", icon='DOWNARROW_HLT', text="")
 
-        split = layout.split(percentage=0.65)
-        col = split.column()
-
         if tex_collection:
-            col.template_ID(idblock, "active_texture", new="texture.new")
+            layout.template_ID(idblock, "active_texture", new="texture.new")
         elif node:
-            col.template_ID(node, "texture", new="texture.new")
+            layout.template_ID(node, "texture", new="texture.new")
         elif idblock:
-            col.template_ID(idblock, "texture", new="texture.new")
+            layout.template_ID(idblock, "texture", new="texture.new")
 
         if pin_id:
-            col.template_ID(space, "pin_id")
+            layout.template_ID(space, "pin_id")
 
-        col = split.column()
-
         if tex:
             split = layout.split(percentage=0.2)
 




More information about the Bf-blender-cvs mailing list