[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43380] trunk/blender/release/scripts/ startup/bl_ui/properties_data_modifier.py: fix [#29889] Simple Deform: Missing lock x/y axis option

Campbell Barton ideasman42 at gmail.com
Sat Jan 14 19:07:19 CET 2012


Revision: 43380
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43380
Author:   campbellbarton
Date:     2012-01-14 18:07:09 +0000 (Sat, 14 Jan 2012)
Log Message:
-----------
fix [#29889] Simple Deform: Missing lock x/y axis option

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	2012-01-14 17:56:44 UTC (rev 43379)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_data_modifier.py	2012-01-14 18:07:09 UTC (rev 43380)
@@ -587,13 +587,12 @@
             layout.prop(md, "use_keep_above_surface")
 
     def SIMPLE_DEFORM(self, layout, ob, md):
+
+        layout.row().prop(md, "deform_method", expand=True)
+
         split = layout.split()
 
         col = split.column()
-        col.label(text="Mode:")
-        col.prop(md, "deform_method", text="")
-
-        col = split.column()
         col.label(text="Vertex Group:")
         col.prop_search(md, "vertex_group", ob, "vertex_groups", text="")
 
@@ -610,7 +609,7 @@
         col.label(text="Deform:")
         col.prop(md, "factor")
         col.prop(md, "limits", slider=True)
-        if md.deform_method in {'TAPER', 'STRETCH'}:
+        if md.deform_method in {'TAPER', 'STRETCH', 'TWIST'}:
             col.prop(md, "lock_x")
             col.prop(md, "lock_y")
 



More information about the Bf-blender-cvs mailing list