Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/object/object_relations.c
| Show First 20 Lines • Show All 1,238 Lines • ▼ Show 20 Lines | if (ob != par) { | ||||
| ob->partype = PAROBJECT; /* note, dna define, not operator property */ | ob->partype = PAROBJECT; /* note, dna define, not operator property */ | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| CTX_DATA_END; | CTX_DATA_END; | ||||
| DEG_relations_tag_update(bmain); | DEG_relations_tag_update(bmain); | ||||
| WM_event_add_notifier(C, NC_OBJECT | ND_TRANSFORM, NULL); | WM_event_add_notifier(C, NC_OBJECT | ND_TRANSFORM, NULL); | ||||
| WM_event_add_notifier(C, NC_OBJECT | ND_PARENT, NULL); | |||||
| return OPERATOR_FINISHED; | return OPERATOR_FINISHED; | ||||
| } | } | ||||
| void OBJECT_OT_parent_no_inverse_set(wmOperatorType *ot) | void OBJECT_OT_parent_no_inverse_set(wmOperatorType *ot) | ||||
| { | { | ||||
| /* identifiers */ | /* identifiers */ | ||||
| ot->name = "Make Parent without Inverse"; | ot->name = "Make Parent without Inverse"; | ||||
| ▲ Show 20 Lines • Show All 1,492 Lines • Show Last 20 Lines | |||||