This lead to infinitely small return values from `paint_space_stroke_spacing` (since the size can become so small) which in turn causes an infinite loop in `paint_space_stroke`. Was considering clamping to some other measure (e.g. based on bounding box factors), but these might not work well in all circumstances (dyntopo on a terrain-size mesh might still need tiny spacing), so settled to clamp to the minimal numerical value. Pull Request: https://projects.blender.org/blender/blender/pulls/129908