forked from bartvdbraak/blender
Merge branch 'blender-v2.90-release'
This commit is contained in:
commit
7fd68db841
@ -508,13 +508,15 @@ static int data_transfer_exec(bContext *C, wmOperator *op)
|
|||||||
|
|
||||||
BLI_freelistN(&ctx_objects);
|
BLI_freelistN(&ctx_objects);
|
||||||
|
|
||||||
WM_event_add_notifier(C, NC_OBJECT | ND_DRAW, NULL);
|
if (changed) {
|
||||||
|
DEG_relations_tag_update(CTX_data_main(C));
|
||||||
|
WM_event_add_notifier(C, NC_OBJECT | ND_DRAW, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
#if 0 /* TODO */
|
#if 0 /* TODO */
|
||||||
/* Note: issue with that is that if canceled, operator cannot be redone... Nasty in our case. */
|
/* Note: issue with that is that if canceled, operator cannot be redone... Nasty in our case. */
|
||||||
return changed ? OPERATOR_FINISHED : OPERATOR_CANCELLED;
|
return changed ? OPERATOR_FINISHED : OPERATOR_CANCELLED;
|
||||||
#else
|
#else
|
||||||
(void)changed;
|
|
||||||
return OPERATOR_FINISHED;
|
return OPERATOR_FINISHED;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user