Commit da9547a8 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

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.
parent b439b144
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> 2005-03-08 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimpviewrenderergradient.c: revert previous * app/widgets/gimpviewrenderergradient.c: revert previous
...@@ -54,7 +59,6 @@ ...@@ -54,7 +59,6 @@
2005-03-07 Sven Neumann <sven@gimp.org> 2005-03-07 Sven Neumann <sven@gimp.org>
* app/tools/gimpellipseselecttool.c * app/tools/gimpellipseselecttool.c
* app/tools/gimprectselecttool.[ch]: applied a patch by Nils * app/tools/gimprectselecttool.[ch]: applied a patch by Nils
Bjorklund that should fix bug #143887 (selection rectangle "moves" Bjorklund that should fix bug #143887 (selection rectangle "moves"
when starting at the top-right corner). when starting at the top-right corner).
......
...@@ -777,9 +777,9 @@ gimp_gradient_segment_split_uniform (GimpGradient *gradient, ...@@ -777,9 +777,9 @@ gimp_gradient_segment_split_uniform (GimpGradient *gradient,
seg->right = lseg->left + (i + 1) * seg_len; seg->right = lseg->left + (i + 1) * seg_len;
seg->middle = (seg->left + seg->right) / 2.0; 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); 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->right, FALSE, &seg->right_color);
seg->type = lseg->type; seg->type = lseg->type;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment