Blender Git Commit Log

Git Commits -> Revision cde858a

January 25, 2021, 09:10 (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: cde858ae98a5bcc214cabae0890a09b5b41e9909
Parent Commit: 6265fe8
Committed By: Jeroen Bakker
Lines Changed: +12, -8

1 Modified Path:

/source/blender/blenkernel/intern/particle_system.c (+12, -8) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021