bugfix #4384
Optimize method for limiting particle recalculation wrongly skipped static particles too.
This commit is contained in:
@@ -1947,9 +1947,13 @@ void makeDispListMesh(Object *ob)
|
||||
if (ob==G.obedit) {
|
||||
editmesh_build_data();
|
||||
} else {
|
||||
PartEff *paf= give_parteff(ob);
|
||||
|
||||
mesh_build_data(ob);
|
||||
if((ob->recalc & OB_RECALC_TIME)==0)
|
||||
build_particle_system(ob);
|
||||
|
||||
if(paf)
|
||||
if((paf->flag & PAF_STATIC) || (ob->recalc & OB_RECALC_TIME)==0)
|
||||
build_particle_system(ob);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user