UI: correct context menu edge selection check
authorCampbell Barton <ideasman42@gmail.com>
Mon, 11 Mar 2019 21:22:38 +0000 (08:22 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 11 Mar 2019 21:22:38 +0000 (08:22 +1100)
release/scripts/startup/bl_ui/space_view3d.py

index 8daf350..b006599 100644 (file)
@@ -2959,7 +2959,9 @@ class VIEW3D_MT_edit_mesh_specials(Menu):
             col.operator("mesh.bevel", text="Bevel Edges").vertex_only = False
             if selected_edges_len >= 2:
                 col.operator("mesh.bridge_edge_loops")
+            if selected_edges_len >= 1:
                 col.operator("mesh.edge_face_add", text="New Face from Edges")
+            if selected_edges_len >= 2:
                 col.operator("mesh.fill")
 
             col.separator()