mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 19:43:01 +00:00
fixed brokeness introduced I when eliminating gradient->last_visited.
2005-03-08 Sven Neumann <sven@gimp.org> * app/core/gimpgradient.c (gimp_gradient_segment_split_uniform): fixed brokeness introduced I when eliminating gradient->last_visited.
This commit is contained in:
parent
b439b144ec
commit
da9547a8cd
|
@ -1,3 +1,8 @@
|
|||
2005-03-08 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/core/gimpgradient.c (gimp_gradient_segment_split_uniform):
|
||||
fixed brokeness introduced I when eliminating gradient->last_visited.
|
||||
|
||||
2005-03-08 Bill Skaggs <weskaggs@primate.ucdavis.edu>
|
||||
|
||||
* app/widgets/gimpviewrenderergradient.c: revert previous
|
||||
|
@ -54,7 +59,6 @@
|
|||
2005-03-07 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/tools/gimpellipseselecttool.c
|
||||
|
||||
* app/tools/gimprectselecttool.[ch]: applied a patch by Nils
|
||||
Bjorklund that should fix bug #143887 (selection rectangle "moves"
|
||||
when starting at the top-right corner).
|
||||
|
|
|
@ -777,9 +777,9 @@ gimp_gradient_segment_split_uniform (GimpGradient *gradient,
|
|||
seg->right = lseg->left + (i + 1) * seg_len;
|
||||
seg->middle = (seg->left + seg->right) / 2.0;
|
||||
|
||||
gimp_gradient_get_color_at (gradient, seg,
|
||||
gimp_gradient_get_color_at (gradient, lseg,
|
||||
seg->left, FALSE, &seg->left_color);
|
||||
gimp_gradient_get_color_at (gradient, seg,
|
||||
gimp_gradient_get_color_at (gradient, lseg,
|
||||
seg->right, FALSE, &seg->right_color);
|
||||
|
||||
seg->type = lseg->type;
|
||||
|
|
Loading…
Reference in a new issue