Blender Git Loki

Git Commits -> Revision cdf5642

Revision cdf5642 by Stefan Werner (master)
January 22, 2021, 08:22 (GMT)
Particles: Fixed thread work size calculation.

Dividing the workload by number of tasks in float is imprecise and
lead in some cases to particles not being calculated at all
(example: 20000 particles, 144 tasks).

Switching this calculation to integer makes sure we don't lose count.

Differential Revision: https://developer.blender.org/D10157

Commit Details:

Full Hash: cdf564277c4d31d98dad78c0d7ad03603896cf4b
Parent Commit: ee5a4f4
Lines Changed: +12, -8

1 Modified Path:

/source/blender/blenkernel/intern/particle_system.c (+12, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021