missed updating warp modifier UI, gave a py error when selecting texture UI layer.

This commit is contained in:
Campbell Barton 2011-05-06 23:54:40 +00:00
parent ca419b47a4
commit 7a5b16d175

@ -675,7 +675,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy.types.Panel):
if md.texture_coords == 'OBJECT': if md.texture_coords == 'OBJECT':
layout.prop(md, "texture_coordinate_object", text="Object") layout.prop(md, "texture_coordinate_object", text="Object")
elif md.texture_coords == 'UV' and ob.type == 'MESH': 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): def WAVE(self, layout, ob, md):
split = layout.split() split = layout.split()