Fix #30801: cycles rendering issue with missing particle instances in a dupligroup.

This commit is contained in:
Brecht Van Lommel
2012-10-23 14:57:33 +00:00
parent d677e4b8b3
commit cfcab31c45

View File

@@ -321,7 +321,7 @@ static void dupli_render_particle_set(Scene *scene, Object *ob, int level, int e
}
}
if (level == 0 && enable) {
if (enable) {
/* this is to make sure we get render level duplis in groups:
* the derivedmesh must be created before init_render_mesh,
* since object_duplilist does dupliparticles before that */