Partial fix for [#23714] Linked instance group with particles doesn't render properly

* Only partial because rendering of dupliobjects / groups with particles isn't yet fully implemented
This commit is contained in:
Janne Karhu 2010-09-08 11:08:34 +00:00
parent 128bd96c01
commit f0fe8a559d

@ -4077,7 +4077,8 @@ void particle_system_update(Scene *scene, Object *ob, ParticleSystem *psys)
psys->cfra = cfra;
psys->recalc = 0;
/* save matrix for duplicators */
invert_m4_m4(psys->imat, ob->obmat);
/* save matrix for duplicators, at rendertime the actual dupliobject's matrix is used so don't update! */
if(psys->renderdata==0)
invert_m4_m4(psys->imat, ob->obmat);
}