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-04-16 03:14:35 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-04-16 03:16:54 +0300
commitfb0acb194797d79b849d40076d54da0cadfeb1f1 (patch)
treeaeb3fd2d6fe9d2517fcc32405b62a093d174c605 /source/blender/editors
parente760d37733e432a698f89388cf446a1f41701424 (diff)
Fix T63401: add Object (Without Inverse) to Set Parent menu
Previously it was bound to a shortcut. Differential Revision: https://developer.blender.org/D4673
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/object/object_relations.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c
index 6d3cca5477e..4a48d308631 100644
--- a/source/blender/editors/object/object_relations.c
+++ b/source/blender/editors/object/object_relations.c
@@ -948,6 +948,8 @@ static int parent_set_invoke(bContext *C, wmOperator *UNUSED(op), const wmEvent
RNA_boolean_set(&opptr, "keep_transform", true);
#endif
+ uiItemO(layout, IFACE_("Object (Without Inverse)"), ICON_NONE, "OBJECT_OT_parent_no_inverse_set");
+
struct {
bool mesh, gpencil;
} has_children_of_type = { 0 };