Files
test/source/blender/blenkernel
Philipp Oeser b35a96e195 Fix T90346: particle force field self effect amount off by one
When calculating the particle step in `get_effector_tot`, we have to
round up (otherwise we might get an extra round in the for-loop in
`BKE_effectors_apply` for certain cases).

Example from the report:
- 10.000 particles, Effector Amount 3
- was rounding the step down to 3333
- going into the for-loop for 0, 3333, 6666 and 9999 (4 times)
- now rounding the step up to 3334
- going into the for-loop for 0, 3334 and 6668 (3 times as desired)

Maniphest Tasks: T90346

Differential Revision: https://developer.blender.org/D12113
2021-08-03 13:07:46 +02:00
..
2021-07-07 13:42:46 +10:00
2021-07-16 11:48:54 +10:00
2020-10-01 14:29:45 +02:00
2020-12-15 17:19:55 +01:00
2021-06-22 10:54:50 -07:00
2021-07-07 13:42:46 +10:00
2021-07-02 12:15:29 +10:00
2021-06-10 12:15:59 +02:00
2021-08-03 12:33:36 +02:00