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:
@@ -948,6 +948,8 @@ static int parent_set_invoke(bContext *C, wmOperator *UNUSED(op), const wmEvent
|
|||||||
RNA_boolean_set(&opptr, "keep_transform", true);
|
RNA_boolean_set(&opptr, "keep_transform", true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
uiItemO(layout, IFACE_("Object (Without Inverse)"), ICON_NONE, "OBJECT_OT_parent_no_inverse_set");
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
bool mesh, gpencil;
|
bool mesh, gpencil;
|
||||||
} has_children_of_type = { 0 };
|
} has_children_of_type = { 0 };
|
||||||
|
Reference in New Issue
Block a user