forked from bartvdbraak/blender
Fix T45022: Update missing when linking objects with new depsgraph
This commit is contained in:
parent
e35a26fbef
commit
295d0c52a2
@ -556,9 +556,11 @@ void BKE_main_lib_objects_recalc_all(Main *bmain)
|
||||
Object *ob;
|
||||
|
||||
/* flag for full recalc */
|
||||
for (ob = bmain->object.first; ob; ob = ob->id.next)
|
||||
if (ob->id.lib)
|
||||
ob->recalc |= OB_RECALC_OB | OB_RECALC_DATA | OB_RECALC_TIME;
|
||||
for (ob = bmain->object.first; ob; ob = ob->id.next) {
|
||||
if (ob->id.lib) {
|
||||
DAG_id_tag_update(&ob->id, OB_RECALC_OB | OB_RECALC_DATA | OB_RECALC_TIME);
|
||||
}
|
||||
}
|
||||
|
||||
DAG_id_type_tag(bmain, ID_OB);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user