Fix [#21329] Extrude of single vertex constrained
authorMatt Ebb <matt@mke3.net>
Wed, 17 Mar 2010 00:54:34 +0000 (00:54 +0000)
committerMatt Ebb <matt@mke3.net>
Wed, 17 Mar 2010 00:54:34 +0000 (00:54 +0000)
release/scripts/ui/space_view3d.py

index 6311626b975f041cfb409d257fc65ec608cd11e9..a2782bc879b014dff309b0b107d35c922f84d566 100644 (file)
@@ -1369,7 +1369,7 @@ class VIEW3D_OT_edit_mesh_extrude_move(bpy.types.Operator):
         totedge = mesh.total_edge_sel
         totvert = mesh.total_vert_sel
 
-        if totface >= 1 or totvert == 1:
+        if totface >= 1:
             return bpy.ops.mesh.extrude_region_move('INVOKE_REGION_WIN', TRANSFORM_OT_translate={"constraint_orientation": "NORMAL", "constraint_axis": [False, False, True]})
         elif totedge == 1:
             return bpy.ops.mesh.extrude_region_move('INVOKE_REGION_WIN', TRANSFORM_OT_translate={"constraint_orientation": "NORMAL", "constraint_axis": [True, True, False]})