diff options
-rw-r--r-- | source/blender/blenkernel/intern/depsgraph.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c index afba669e3e0..e277de27e7d 100644 --- a/source/blender/blenkernel/intern/depsgraph.c +++ b/source/blender/blenkernel/intern/depsgraph.c @@ -2241,9 +2241,11 @@ void DAG_on_load_update(void) for(group= G.main->group.first; group; group= group->id.next) { if(group->id.flag & LIB_DOIT) { - if(ELEM5(go->ob->type, OB_MESH, OB_CURVE, OB_SURF, OB_FONT, OB_MBALL)) - go->ob->recalc |= OB_RECALC_DATA; - + for(go= group->gobject.first; go; go= go->next) { + if(ELEM5(go->ob->type, OB_MESH, OB_CURVE, OB_SURF, OB_FONT, OB_MBALL)) + go->ob->recalc |= OB_RECALC_DATA; + } + group->id.flag &= ~LIB_DOIT; } } |