Commit 8fa75685 authored by Michael Schumacher's avatar Michael Schumacher Committed by Michael Schumacher

use the closest corner of the current pixel as origin. Fixes bug #329000.

2006-01-30  Michael Schumacher  <schumaml@cvs.gnome.org>

	* app/tools/gimpmeasuretool.c: use the closest corner of the
	current pixel as origin. Fixes bug #329000.
parent 2d80597f
2006-01-30 Michael Schumacher <schumaml@cvs.gnome.org>
* app/tools/gimpmeasuretool.c: use the closest corner of the
current pixel as origin. Fixes bug #329000.
2006-01-30 Sven Neumann <sven@gimp.org>
* app/config/config-types.h: moved GIMP_PARAM defines from here ...
......
......@@ -300,8 +300,8 @@ gimp_measure_tool_button_press (GimpTool *tool,
}
/* set the first point and go into ADDING mode */
mtool->x[0] = coords->x;
mtool->y[0] = coords->y;
mtool->x[0] = coords->x + 0.5;
mtool->y[0] = coords->y + 0.5;
mtool->point = 0;
mtool->num_points = 1;
mtool->function = ADDING;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment