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:
authorCampbell Barton <ideasman42@gmail.com>2019-05-31 09:24:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-31 09:24:58 +0300
commitb4071c56cedf4c55d1fb3e6847e63bdbd172f1dd (patch)
treec29214d655266decb71fe86b1fec4da1cdcc4201
parent41dce8af6a425f6cf7cdcbf440ed51566e13a99b (diff)
Fix T65147: Rotate normal not interactive from menu
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 649abfe5fe6..aec267f344a 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -3864,7 +3864,11 @@ class VIEW3D_MT_edit_mesh_normals(Menu):
layout.separator()
layout.operator("mesh.set_normals_from_faces", text="Set From Faces")
+
+ layout.operator_context = 'INVOKE_DEFAULT'
layout.operator("transform.rotate_normal", text="Rotate")
+ layout.operator_context = 'EXEC_DEFAULT'
+
layout.operator("mesh.point_normals", text="Point to Target")
layout.operator("mesh.merge_normals", text="Merge")
layout.operator("mesh.split_normals", text="Split")