diff options
author | Stefan Werner <stefan.werner@tangent-animation.com> | 2021-01-20 13:17:32 +0300 |
---|---|---|
committer | Stefan Werner <stefan.werner@tangent-animation.com> | 2021-01-22 11:30:35 +0300 |
commit | 927d099ec099e176b6e1f65555cbd4e70f681301 (patch) | |
tree | 26d4acaa53e26814daae76f2339052269e74a721 /source/blender/editors/include/ED_object.h | |
parent | 2469ddc1a9430377756f66edb2c14a8c7dd79f2f (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 'source/blender/editors/include/ED_object.h')
0 files changed, 0 insertions, 0 deletions