Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Trickey <howard.trickey@gmail.com>2019-05-20 20:38:33 +0300
committerHoward Trickey <howard.trickey@gmail.com>2019-05-20 20:38:33 +0300
commit907d5eb39b86878d41e296fd2f279d836dc68e6f (patch)
treeba2b08ccf9eddc976467a6d4ff1a2d0e5e0ef7a2
parent9efe117535c6bed02f41c3d5cb8df9b3f301ada1 (diff)
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.
-rw-r--r--release/scripts/presets/keyconfig/keymap_data/blender_default.py2
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py
index cd2c6b0ebed..ec4a6e0bbcc 100644
--- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py
+++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py
@@ -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),
])
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 5a90e0ef80c..782bf016b2a 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -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")