[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36526] trunk/blender/release/scripts/ startup/bl_ui/properties_data_modifier.py: missed updating warp modifier UI , gave a py error when selecting texture UI layer.

Campbell Barton ideasman42 at gmail.com
Sat May 7 01:54:40 CEST 2011


Revision: 36526
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36526
Author:   campbellbarton
Date:     2011-05-06 23:54:40 +0000 (Fri, 06 May 2011)
Log Message:
-----------
missed updating warp modifier UI, gave a py error when selecting texture UI layer.

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

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_data_modifier.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_data_modifier.py	2011-05-06 23:46:24 UTC (rev 36525)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_data_modifier.py	2011-05-06 23:54:40 UTC (rev 36526)
@@ -675,7 +675,7 @@
         if md.texture_coords == 'OBJECT':
             layout.prop(md, "texture_coordinate_object", text="Object")
         elif md.texture_coords == 'UV' and ob.type == 'MESH':
-            layout.prop_object(md, "uv_layer", ob.data, "uv_textures")
+            layout.prop_search(md, "uv_layer", ob.data, "uv_textures")
 
     def WAVE(self, layout, ob, md):
         split = layout.split()




More information about the Bf-blender-cvs mailing list