diff --git a/ChangeLog b/ChangeLog index 079cee6870..f69ec15bdf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +Wed Apr 7 23:53:22 BST 1999 Andy Thomas + + Changed:- + + * app/curves.c + + Just noticed a bug that has been around for ages. The preview + update does not work in the curves dialog when free curve + mode is selected. Fixed it. + Wed Apr 7 22:44:02 BST 1999 Andy Thomas Changed:- diff --git a/app/base/curves.c b/app/base/curves.c index 09a9c93fae..66fbf0b5fb 100644 --- a/app/base/curves.c +++ b/app/base/curves.c @@ -1213,7 +1213,6 @@ curves_graph_events (GtkWidget *widget, cd->points[cd->channel][cd->grab_point][0] = x; cd->points[cd->channel][cd->grab_point][1] = 255 - y; - curves_calculate_curve (cd); break; case GFREE: @@ -1222,7 +1221,8 @@ curves_graph_events (GtkWidget *widget, cd->last = y; break; } - + + curves_calculate_curve (cd); curves_update (cd, GRAPH | XRANGE_TOP | DRAW); gtk_grab_add(widget); diff --git a/app/curves.c b/app/curves.c index 09a9c93fae..66fbf0b5fb 100644 --- a/app/curves.c +++ b/app/curves.c @@ -1213,7 +1213,6 @@ curves_graph_events (GtkWidget *widget, cd->points[cd->channel][cd->grab_point][0] = x; cd->points[cd->channel][cd->grab_point][1] = 255 - y; - curves_calculate_curve (cd); break; case GFREE: @@ -1222,7 +1221,8 @@ curves_graph_events (GtkWidget *widget, cd->last = y; break; } - + + curves_calculate_curve (cd); curves_update (cd, GRAPH | XRANGE_TOP | DRAW); gtk_grab_add(widget); diff --git a/app/tools/curves.c b/app/tools/curves.c index 09a9c93fae..66fbf0b5fb 100644 --- a/app/tools/curves.c +++ b/app/tools/curves.c @@ -1213,7 +1213,6 @@ curves_graph_events (GtkWidget *widget, cd->points[cd->channel][cd->grab_point][0] = x; cd->points[cd->channel][cd->grab_point][1] = 255 - y; - curves_calculate_curve (cd); break; case GFREE: @@ -1222,7 +1221,8 @@ curves_graph_events (GtkWidget *widget, cd->last = y; break; } - + + curves_calculate_curve (cd); curves_update (cd, GRAPH | XRANGE_TOP | DRAW); gtk_grab_add(widget); diff --git a/app/tools/gimpcurvestool.c b/app/tools/gimpcurvestool.c index 09a9c93fae..66fbf0b5fb 100644 --- a/app/tools/gimpcurvestool.c +++ b/app/tools/gimpcurvestool.c @@ -1213,7 +1213,6 @@ curves_graph_events (GtkWidget *widget, cd->points[cd->channel][cd->grab_point][0] = x; cd->points[cd->channel][cd->grab_point][1] = 255 - y; - curves_calculate_curve (cd); break; case GFREE: @@ -1222,7 +1221,8 @@ curves_graph_events (GtkWidget *widget, cd->last = y; break; } - + + curves_calculate_curve (cd); curves_update (cd, GRAPH | XRANGE_TOP | DRAW); gtk_grab_add(widget);