Changed:-
Wed Apr 7 23:53:22 BST 1999 Andy Thomas <alt@gimp.org> 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.
This commit is contained in:

committed by
Andy Thomas

parent
4bdf25daf2
commit
9a4edab746
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
Wed Apr 7 23:53:22 BST 1999 Andy Thomas <alt@gimp.org>
|
||||||
|
|
||||||
|
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 <alt@gimp.org>
|
Wed Apr 7 22:44:02 BST 1999 Andy Thomas <alt@gimp.org>
|
||||||
|
|
||||||
Changed:-
|
Changed:-
|
||||||
|
@ -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][0] = x;
|
||||||
cd->points[cd->channel][cd->grab_point][1] = 255 - y;
|
cd->points[cd->channel][cd->grab_point][1] = 255 - y;
|
||||||
|
|
||||||
curves_calculate_curve (cd);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GFREE:
|
case GFREE:
|
||||||
@ -1222,7 +1221,8 @@ curves_graph_events (GtkWidget *widget,
|
|||||||
cd->last = y;
|
cd->last = y;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
curves_calculate_curve (cd);
|
||||||
curves_update (cd, GRAPH | XRANGE_TOP | DRAW);
|
curves_update (cd, GRAPH | XRANGE_TOP | DRAW);
|
||||||
gtk_grab_add(widget);
|
gtk_grab_add(widget);
|
||||||
|
|
||||||
|
@ -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][0] = x;
|
||||||
cd->points[cd->channel][cd->grab_point][1] = 255 - y;
|
cd->points[cd->channel][cd->grab_point][1] = 255 - y;
|
||||||
|
|
||||||
curves_calculate_curve (cd);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GFREE:
|
case GFREE:
|
||||||
@ -1222,7 +1221,8 @@ curves_graph_events (GtkWidget *widget,
|
|||||||
cd->last = y;
|
cd->last = y;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
curves_calculate_curve (cd);
|
||||||
curves_update (cd, GRAPH | XRANGE_TOP | DRAW);
|
curves_update (cd, GRAPH | XRANGE_TOP | DRAW);
|
||||||
gtk_grab_add(widget);
|
gtk_grab_add(widget);
|
||||||
|
|
||||||
|
@ -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][0] = x;
|
||||||
cd->points[cd->channel][cd->grab_point][1] = 255 - y;
|
cd->points[cd->channel][cd->grab_point][1] = 255 - y;
|
||||||
|
|
||||||
curves_calculate_curve (cd);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GFREE:
|
case GFREE:
|
||||||
@ -1222,7 +1221,8 @@ curves_graph_events (GtkWidget *widget,
|
|||||||
cd->last = y;
|
cd->last = y;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
curves_calculate_curve (cd);
|
||||||
curves_update (cd, GRAPH | XRANGE_TOP | DRAW);
|
curves_update (cd, GRAPH | XRANGE_TOP | DRAW);
|
||||||
gtk_grab_add(widget);
|
gtk_grab_add(widget);
|
||||||
|
|
||||||
|
@ -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][0] = x;
|
||||||
cd->points[cd->channel][cd->grab_point][1] = 255 - y;
|
cd->points[cd->channel][cd->grab_point][1] = 255 - y;
|
||||||
|
|
||||||
curves_calculate_curve (cd);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GFREE:
|
case GFREE:
|
||||||
@ -1222,7 +1221,8 @@ curves_graph_events (GtkWidget *widget,
|
|||||||
cd->last = y;
|
cd->last = y;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
curves_calculate_curve (cd);
|
||||||
curves_update (cd, GRAPH | XRANGE_TOP | DRAW);
|
curves_update (cd, GRAPH | XRANGE_TOP | DRAW);
|
||||||
gtk_grab_add(widget);
|
gtk_grab_add(widget);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user