[Bf-blender-cvs] [bf92d262a3f] blender-v2.83-release: Fix View3D "Mirror" menu, both "Global" and "Local" items are GLOBAL

Yevgeny Makarov noreply at git.blender.org
Wed Jul 29 10:53:10 CEST 2020


Commit: bf92d262a3fde3412feb7dbf09ff8dc4664aab20
Author: Yevgeny Makarov
Date:   Thu Jul 16 18:06:51 2020 +1000
Branches: blender-v2.83-release
https://developer.blender.org/rBbf92d262a3fde3412feb7dbf09ff8dc4664aab20

Fix View3D "Mirror" menu, both "Global" and "Local" items are GLOBAL

===================================================================

M	release/scripts/startup/bl_ui/space_view3d.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index fa59c5a8008..dbd1ec8d960 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -1078,7 +1078,7 @@ class VIEW3D_MT_mirror(Menu):
             for axis_index, axis_name in enumerate("XYZ"):
                 props = layout.operator("transform.mirror", text=f"{axis_name!s} {space_name!s}")
                 props.constraint_axis[axis_index] = True
-                props.orient_type = 'GLOBAL'
+                props.orient_type = space_id
 
             if space_id == 'GLOBAL':
                 layout.separator()



More information about the Bf-blender-cvs mailing list