Big fix: particle pointcache was cleared fully on any particle setting change
* Now only the cache after current frame is cleared. * Probably own fault from my last commit.
This commit is contained in:
@@ -3786,7 +3786,7 @@ static void system_step(ParticleSimulationData *sim, float cfra)
|
||||
/* flag for possible explode modifiers after this system */
|
||||
sim->psmd->flag |= eParticleSystemFlag_Pars;
|
||||
|
||||
BKE_ptcache_id_clear(pid, PTCACHE_CLEAR_ALL, cfra);
|
||||
BKE_ptcache_id_clear(pid, PTCACHE_CLEAR_AFTER, cfra);
|
||||
}
|
||||
|
||||
/* 2. try to read from the cache */
|
||||
|
||||
Reference in New Issue
Block a user