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

This commit is contained in:
Yevgeny Makarov 2020-07-16 18:06:51 +10:00 committed by Campbell Barton
parent 9715ad5aca
commit 4a9d903e2b
1 changed files with 1 additions and 1 deletions

View File

@ -1086,7 +1086,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()