app/bezier_select.c

Sat Apr 22 14:01:06 BST 2000 <alt@gimp.org>

	* app/bezier_select.c

	Fixed problem pointed out by Garry R. Osgood (manipulating
	control points where curve is closed). Thanks
	again Garry for pointing it out.
This commit is contained in:
BST 2000 2000-04-22 13:09:44 +00:00 committed by Andy Thomas
parent c19016d81a
commit dfb76fdb64
3 changed files with 12 additions and 8 deletions

View File

@ -1,3 +1,11 @@
Sat Apr 22 14:01:06 BST 2000 <alt@gimp.org>
* app/bezier_select.c
Fixed problem pointed out by Garry R. Osgood (manipulating
control points where curve is closed). Thanks
again Garry for pointing it out.
Fri Apr 21 11:25:24 PDT 2000 Manish Singh <yosh@gimp.org>
* libgimp/Makefile.am: gimpsignal.[ch] needs to go into libgimp,

View File

@ -1058,10 +1058,8 @@ bezier_select_button_press (Tool *tool,
bezier_add_point (bezier_sel, BEZIER_CONTROL, (gdouble)x, (gdouble)y);
bezier_sel->last_point->next = curve_start;
curve_start->prev = bezier_sel->last_point;
/* bezier_sel->cur_anchor = curve_start; */
/* bezier_sel->cur_control = curve_start->next; */
bezier_sel->cur_anchor = NULL;
bezier_sel->cur_control = NULL;
bezier_sel->cur_anchor = curve_start;
bezier_sel->cur_control = curve_start->next;
bezier_sel->closed = 1;
bezier_sel->state = BEZIER_EDIT;

View File

@ -1058,10 +1058,8 @@ bezier_select_button_press (Tool *tool,
bezier_add_point (bezier_sel, BEZIER_CONTROL, (gdouble)x, (gdouble)y);
bezier_sel->last_point->next = curve_start;
curve_start->prev = bezier_sel->last_point;
/* bezier_sel->cur_anchor = curve_start; */
/* bezier_sel->cur_control = curve_start->next; */
bezier_sel->cur_anchor = NULL;
bezier_sel->cur_control = NULL;
bezier_sel->cur_anchor = curve_start;
bezier_sel->cur_control = curve_start->next;
bezier_sel->closed = 1;
bezier_sel->state = BEZIER_EDIT;