Commit removing Mesh Deform modifier's surface mode broke the it's UI
authorDaniel Salazar <zanqdo@gmail.com>
Sat, 3 Apr 2010 09:09:48 +0000 (09:09 +0000)
committerDaniel Salazar <zanqdo@gmail.com>
Sat, 3 Apr 2010 09:09:48 +0000 (09:09 +0000)
release/scripts/ui/properties_data_modifier.py

index 34da8f596d2877b6f6d16d5d91d0b4d06208ecef..6e6a7e9e3c0f5110dd12be896899a4a8dda9740d 100644 (file)
@@ -385,15 +385,14 @@ class DATA_PT_modifiers(DataButtonsPanel):
         else:
             layout.operator("object.meshdeform_bind", text="Bind")
 
-            if md.mode == 'VOLUME':
-                split = layout.split()
+            split = layout.split()
 
-                col = split.column()
-                col.prop(md, "precision")
+            col = split.column()
+            col.prop(md, "precision")
 
-                if wide_ui:
-                    col = split.column()
-                col.prop(md, "dynamic")
+            if wide_ui:
+                col = split.column()
+            col.prop(md, "dynamic")
 
     def MIRROR(self, layout, ob, md, wide_ui):
         layout.prop(md, "merge_limit")