diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-10-30 16:19:05 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-10-30 16:19:05 +0300 |
commit | 8fe4d9c002964301b139004daeea523cdbdb196e (patch) | |
tree | 264841f38c4e82c5d7313bcf93800a970906bc29 /release | |
parent | 29433da4c6e4b2da6f3fa3d1868c5039b4e6be70 (diff) | |
parent | 068c6a6f1516bc7d25da7f33dff3181e323b432e (diff) |
Merge branch 'blender-v2.81-release'
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index b22afe338ed..bbd8f2e1711 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -2522,11 +2522,18 @@ class VIEW3D_MT_object_parent(Menu): def draw(self, _context): layout = self.layout + operator_context_default = layout.operator_context layout.operator_enum("object.parent_set", "type") layout.separator() + layout.operator_context = 'EXEC_DEFAULT' + layout.operator("object.parent_no_inverse_set") + layout.operator_context = operator_context_default + + layout.separator() + layout.operator_enum("object.parent_clear", "type") |