-
Ell authored
When using gimp_gradient_segment_range_compress() to expand a 0- length segment, redistribute the range's endpoints and midpoints uniformly, rather than using the regular code path, which would result in NaN values. Make sure that the left and right endpoints of the range are *exactly* equal to the new left and right values. Previously, they could be slightly off due to numerical errors.
1b2a395e