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:
authorYevgeny Makarov <jenkm>2020-07-16 11:06:51 +0300
committerJeroen Bakker <jeroen@blender.org>2020-07-29 10:56:12 +0300
commitbf92d262a3fde3412feb7dbf09ff8dc4664aab20 (patch)
tree5c9756cdd907ac3d3b35f117576024f51316c4dc /release
parentde3e797d47e9572e5d558b70fc96b2d67c1b5d17 (diff)
Fix View3D "Mirror" menu, both "Global" and "Local" items are GLOBAL
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py2
1 files changed, 1 insertions, 1 deletions
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()