Blender Git Loki

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:

Commit Details:

Full Hash: cde858ae98a5bcc214cabae0890a09b5b41e9909
Parent Commit: 6265fe8
Committed By: Jeroen Bakker
Lines Changed: +12, -8

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021