Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/object/object_transform.cc
| Show First 20 Lines • Show All 1,188 Lines • ▼ Show 20 Lines | static int object_parent_inverse_apply_exec(bContext *C, wmOperator *UNUSED(op)) | ||||
| return OPERATOR_FINISHED; | return OPERATOR_FINISHED; | ||||
| } | } | ||||
| void OBJECT_OT_parent_inverse_apply(wmOperatorType *ot) | void OBJECT_OT_parent_inverse_apply(wmOperatorType *ot) | ||||
| { | { | ||||
| /* identifiers */ | /* identifiers */ | ||||
| ot->name = "Apply Parent Inverse"; | ot->name = "Apply Parent Inverse"; | ||||
| ot->description = "Apply the object's parent inverse to the its data"; | ot->description = "Apply the object's parent inverse to its data"; | ||||
| ot->idname = "OBJECT_OT_parent_inverse_apply"; | ot->idname = "OBJECT_OT_parent_inverse_apply"; | ||||
| /* api callbacks */ | /* api callbacks */ | ||||
| ot->exec = object_parent_inverse_apply_exec; | ot->exec = object_parent_inverse_apply_exec; | ||||
| ot->poll = ED_operator_objectmode; | ot->poll = ED_operator_objectmode; | ||||
| /* flags */ | /* flags */ | ||||
| ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; | ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; | ||||
| ▲ Show 20 Lines • Show All 1,056 Lines • Show Last 20 Lines | |||||