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

Previously it was bound to a shortcut.

Differential Revision: https://developer.blender.org/D4673
This commit is contained in:
Philipp Oeser 2019-04-16 02:14:35 +02:00 committed by Brecht Van Lommel
parent e760d37733
commit fb0acb1947
Notes: blender-bot 2023-02-14 10:09:24 +01:00
Referenced by issue #63401, Set P
1 changed files with 2 additions and 0 deletions

View File

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