do not select ISCISSORS_OP_MOVE_POINT for terminal points. Fixes bug

2006-08-14  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpiscissorstool.c (gimp_iscissors_tool_oper_update):
	do not select ISCISSORS_OP_MOVE_POINT for terminal points. Fixes
	bug #132352.
This commit is contained in:
Sven Neumann 2006-08-14 12:34:42 +00:00 committed by Sven Neumann
parent 24d9af3702
commit df30e50fc2
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2006-08-14 Sven Neumann <sven@gimp.org>
* app/tools/gimpiscissorstool.c (gimp_iscissors_tool_oper_update):
do not select ISCISSORS_OP_MOVE_POINT for terminal points. Fixes
bug #132352.
2006-08-14 Michael Natterer <mitch@gimp.org>
* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw_area):

View File

@ -918,7 +918,7 @@ gimp_iscissors_tool_oper_update (GimpTool *tool,
GIMP_TOOL_CLASS (parent_class)->oper_update (tool, coords, state, proximity,
display);
if (mouse_over_vertex (iscissors, coords->x, coords->y))
if (mouse_over_vertex (iscissors, coords->x, coords->y) > 1)
{
iscissors->op = ISCISSORS_OP_MOVE_POINT;
}