missed updating warp modifier UI, gave a py error when selecting texture UI layer.
[blender-staging.git] / release / scripts / startup / bl_ui / properties_data_modifier.py
index 1fa79a88f439bc9f6c33346ae5d8869d85a61bda..27af84dbcfb2b985978555f7a5239097e28fbbdb 100644 (file)
@@ -675,7 +675,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy.types.Panel):
         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()