[Bf-blender-cvs] [fb0acb19479] master: Fix T63401: add Object (Without Inverse) to Set Parent menu

Philipp Oeser noreply at git.blender.org
Tue Apr 16 02:17:05 CEST 2019


Commit: fb0acb194797d79b849d40076d54da0cadfeb1f1
Author: Philipp Oeser
Date:   Tue Apr 16 02:14:35 2019 +0200
Branches: master
https://developer.blender.org/rBfb0acb194797d79b849d40076d54da0cadfeb1f1

Fix T63401: add Object (Without Inverse) to Set Parent menu

Previously it was bound to a shortcut.

Differential Revision: https://developer.blender.org/D4673

===================================================================

M	source/blender/editors/object/object_relations.c

===================================================================

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 };



More information about the Bf-blender-cvs mailing list