3D View / Edges menu:
authorThomas Dinges <blender@dingto.org>
Thu, 12 Jul 2012 16:19:29 +0000 (16:19 +0000)
committerThomas Dinges <blender@dingto.org>
Thu, 12 Jul 2012 16:19:29 +0000 (16:19 +0000)
* Removed a redundant "Edge Crease" entry and some code cleanup.

release/scripts/startup/bl_ui/space_view3d.py

index 55cc47d98d5c45564fad2373adc8690d0e946dca..a876c607cd370101bbaa6d4afa7324bda435fbaf 100644 (file)
@@ -1826,15 +1826,9 @@ class VIEW3D_MT_edit_mesh_edges(Menu):
 
         layout.separator()
 
-        layout.operator("TRANSFORM_OT_edge_slide")
-        layout.operator("TRANSFORM_OT_edge_crease")
+        layout.operator("transform.edge_slide")
         layout.operator("mesh.loop_multi_select", text="Edge Loop").ring = False
-
-        #~ uiItemO(layout, "Loopcut", 0, "mesh.loop_cut"); // CutEdgeloop(em, 1);
-        #~ uiItemO(layout, "Edge Slide", 0, "mesh.edge_slide"); // EdgeSlide(em, 0,0.0);
-
         layout.operator("mesh.loop_multi_select", text="Edge Ring").ring = True
-
         layout.operator("mesh.loop_to_region")
         layout.operator("mesh.region_to_loop")
 
@@ -1869,9 +1863,6 @@ class VIEW3D_MT_edit_mesh_faces(Menu):
 
         layout.separator()
 
-        # uiItemO(layout, NULL, 0, "mesh.face_mode"); // mesh_set_face_flags(em, 1);
-        # uiItemBooleanO(layout, NULL, 0, "mesh.face_mode", "clear", 1); // mesh_set_face_flags(em, 0);
-
         layout.operator("mesh.edge_rotate", text="Rotate Edge CW").direction = 'CW'
 
         layout.separator()