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:
authorPhilipp Oeser <info@graphics-engineer.com>2019-10-29 12:21:04 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2019-10-30 16:14:18 +0300
commit068c6a6f1516bc7d25da7f33dff3181e323b432e (patch)
treef9fac28a09ec34817762c342d4d2c4d88bbf3b8c /release
parentff7be963228c95a89bca3f75b291f50fa8b153e1 (diff)
Fix T71182: Object Parenting - 'Without Inverse' option missing in menu
Maniphest Tasks: T71182 Differential Revision: https://developer.blender.org/D6150
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py7
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 eab1abd279a..bfad70dcb49 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -2536,11 +2536,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")