Blender Git Commit Log

Git Commits -> Revision 927d099

Revision 927d099 by Stefan Werner (master)
January 22, 2021, 08:30 (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: 927d099ec099e176b6e1f65555cbd4e70f681301
Parent Commit: 2469ddc
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