Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/object/object_data_transfer.c
| Show First 20 Lines • Show All 835 Lines • ▼ Show 20 Lines | for (ctx_ob_dst = ctx_objects.first; ctx_ob_dst; ctx_ob_dst = ctx_ob_dst->next) { | ||||
| } | } | ||||
| DEG_id_tag_update(&ob_dst->id, ID_RECALC_GEOMETRY); | DEG_id_tag_update(&ob_dst->id, ID_RECALC_GEOMETRY); | ||||
| } | } | ||||
| BLI_freelistN(&ctx_objects); | BLI_freelistN(&ctx_objects); | ||||
| } | } | ||||
| DEG_relations_tag_update(CTX_data_main(C)); | |||||
| WM_event_add_notifier(C, NC_OBJECT | ND_DRAW, NULL); | WM_event_add_notifier(C, NC_OBJECT | ND_DRAW, NULL); | ||||
| return OPERATOR_FINISHED; | return OPERATOR_FINISHED; | ||||
| } | } | ||||
| static int datalayout_transfer_invoke(bContext *C, wmOperator *op, const wmEvent *event) | static int datalayout_transfer_invoke(bContext *C, wmOperator *op, const wmEvent *event) | ||||
| { | { | ||||
| if (edit_modifier_invoke_properties(C, op)) { | if (edit_modifier_invoke_properties(C, op)) { | ||||
| ▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines | |||||