Make sure all dependency graphs are updated on particles system copy
This commit is contained in:
parent
89effac57e
commit
11bb38e887
|
@ -1267,8 +1267,7 @@ static int copy_particle_systems_exec(bContext *C, wmOperator *op)
|
|||
CTX_DATA_END;
|
||||
|
||||
if (changed_tot > 0) {
|
||||
Depsgraph *depsgraph = CTX_data_depsgraph_pointer(C);
|
||||
DEG_graph_tag_relations_update(depsgraph);
|
||||
DEG_relations_tag_update(CTX_data_main(C));
|
||||
}
|
||||
|
||||
if ((changed_tot == 0 && fail == 0) || fail) {
|
||||
|
|
Loading…
Reference in New Issue