[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [22090] branches/blender2.5/blender/ release/ui/buttons_texture.py: Changed texture layers list to display as a proper list.

William Reynish william at reynish.com
Fri Jul 31 18:19:28 CEST 2009


Revision: 22090
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22090
Author:   billrey
Date:     2009-07-31 18:19:26 +0200 (Fri, 31 Jul 2009)

Log Message:
-----------
Changed texture layers list to display as a proper list. This makes the order clearer, and you can see names. The list always displays its full length though, because texture layers are pre-populated with all 18 texture layers. Would be nice if this was eventually more dynamic, resembling the way you add/remove material indices. 

Modified Paths:
--------------
    branches/blender2.5/blender/release/ui/buttons_texture.py

Modified: branches/blender2.5/blender/release/ui/buttons_texture.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_texture.py	2009-07-31 15:58:15 UTC (rev 22089)
+++ branches/blender2.5/blender/release/ui/buttons_texture.py	2009-07-31 16:19:26 UTC (rev 22090)
@@ -62,8 +62,8 @@
 
 		if id:
 			row = layout.row()
-			row.template_list(id, "textures", id, "active_texture_index", type="ICONS")
-
+			row.template_list(id, "textures", id, "active_texture_index", rows=2)
+			
 		split = layout.split(percentage=0.65)
 
 		if id:





More information about the Bf-blender-cvs mailing list