diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-07 15:30:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-07 15:30:55 +0300 |
commit | 3238730e3678394ed6ecd3d2ce634f9502400d6e (patch) | |
tree | 25b48c4371f478f582a002b3509024d99662006e /source/blender/blenkernel/intern | |
parent | 3fb89398702549af6ec1ade1baeebc2329af1512 (diff) |
group objects were used uninitialized. (copy paste error?)
Diffstat (limited to 'source/blender/blenkernel/intern')
-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; } } |