Normal UI: Make Alt-N shortcut to Normals Menu.
See T64324 for discussion of normals ui. Consensus on blender.chat was to use Alt-N to pull up Normals Menu, overwriting the old use of that key (Flip normals). There are still shortcuts for Recalculate Outside and Recalculate Inside which are likely the more common needs.
This commit is contained in:
@@ -3864,7 +3864,6 @@ def km_mesh(params):
|
||||
{"properties": [("inside", False)]}),
|
||||
("mesh.normals_make_consistent", {"type": 'N', "value": 'PRESS', "shift": True, "ctrl": True},
|
||||
{"properties": [("inside", True)]}),
|
||||
("mesh.flip_normals", {"type": 'N', "value": 'PRESS', "alt": True}, None),
|
||||
("view3d.edit_mesh_extrude_move_normal", {"type": 'E', "value": 'PRESS'}, None),
|
||||
op_menu("VIEW3D_MT_edit_mesh_extrude", {"type": 'E', "value": 'PRESS', "alt": True}),
|
||||
("transform.edge_crease", {"type": 'E', "value": 'PRESS', "shift": True}, None),
|
||||
@@ -3908,6 +3907,7 @@ def km_mesh(params):
|
||||
op_menu("VIEW3D_MT_hook", {"type": 'H', "value": 'PRESS', "ctrl": True}),
|
||||
op_menu("VIEW3D_MT_uv_map", {"type": 'U', "value": 'PRESS'}),
|
||||
op_menu("VIEW3D_MT_vertex_group", {"type": 'G', "value": 'PRESS', "ctrl": True}),
|
||||
op_menu("VIEW3D_MT_edit_mesh_normals", {"type": 'N', "value": 'PRESS', "alt" : True}),
|
||||
("object.vertex_group_remove_from", {"type": 'G', "value": 'PRESS', "ctrl": True, "alt": True}, None),
|
||||
*_template_items_proportional_editing(connected=True),
|
||||
])
|
||||
|
||||
@@ -3806,12 +3806,12 @@ class VIEW3D_MT_edit_mesh_normals(Menu):
|
||||
def draw(self, _context):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator("mesh.flip_normals", text="Flip")
|
||||
layout.operator("mesh.normals_make_consistent", text="Recalculate Outside").inside = False
|
||||
layout.operator("mesh.normals_make_consistent", text="Recalculate Inside").inside = True
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("mesh.flip_normals", text="Flip")
|
||||
layout.operator("mesh.set_normals_from_faces", text="Set From Faces")
|
||||
layout.operator("transform.rotate_normal", text="Rotate")
|
||||
layout.operator("mesh.point_normals", text="Point to Target")
|
||||
|
||||
Reference in New Issue
Block a user