forked from bartvdbraak/blender
Possible fix for all the particles related SIMD SVBVH bugs.
* Velocity for particles that were born at exactly integer frames was calculated wrong when they were born. Note: If you had a raytrace acceleration related bug, please clear the pointcache for all particles, toggle a particle setting to reset pointcache and rebake to create a valid simulation.
This commit is contained in:
parent
4e9c329faf
commit
b4a4c33054
@ -3441,7 +3441,7 @@ static void dynamics_step(ParticleSimulationData *sim, float cfra)
|
||||
else if(part->phystype == PART_PHYS_NO)
|
||||
reset_particle(sim, pa, dtime, cfra);
|
||||
|
||||
if(dfra>0.0 && ELEM(pa->alive,PARS_ALIVE,PARS_DYING)){
|
||||
if(pa_dfra>0.0 && ELEM(pa->alive,PARS_ALIVE,PARS_DYING)){
|
||||
switch(part->phystype){
|
||||
case PART_PHYS_NEWTON:
|
||||
/* do global forces & effectors */
|
||||
|
Loading…
Reference in New Issue
Block a user