1e70c29320
The issue was that the clamping to the bounds happened before the rounding to the increment step. In the reported case this led to a divide by 0 error. The fix is to do the increment first, then the clamp to bounds. This was reported by Raymond Luc on #117287 Pull Request: https://projects.blender.org/blender/blender/pulls/119367