removed the "last_visited" field from GimpGradient. Instead added the new
2005-02-27 Sven Neumann <sven@gimp.org> * app/core/gimpgradient.[ch]: removed the "last_visited" field from GimpGradient. Instead added the new function gimp_gradient_get_color_at_segment() that allows the caller to do the same optimization. * app/actions/gradient-editor-commands.c * app/core/gimpdrawable-blend.c * app/core/gimppalette-import.c * app/paint/gimppaintoptions.c * app/widgets/gimpgradienteditor.c * app/widgets/gimpgradientselect.c * app/widgets/gimpviewrenderergradient.c: changed accordingly. * app/pdb/gradient_cmds.c * app/pdb/gradients_cmds.c: regenerated.
This commit is contained in:

committed by
Sven Neumann

parent
5f4cec76da
commit
8de1e94bb7
@ -775,8 +775,6 @@ gradient_editor_replace_selection (GimpGradientEditor *editor,
|
||||
|
||||
editor->control_sel_l = replace_seg;
|
||||
editor->control_sel_r = replace_last;
|
||||
|
||||
gradient->last_visited = NULL; /* Force re-search */
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user