diff options
author | Stefan Werner <stefan.werner@tangent-animation.com> | 2021-01-20 13:17:32 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-01-25 12:10:40 +0300 |
commit | cde858ae98a5bcc214cabae0890a09b5b41e9909 (patch) | |
tree | f870dbf9068bf8bf81597de483fe40b9fdc8fc9b /GNUmakefile | |
parent | 6265fe860588e9e20e0f3baf8f42ef6247b36ff8 (diff) |
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
Diffstat (limited to 'GNUmakefile')
0 files changed, 0 insertions, 0 deletions