mirror of https://github.com/GNOME/gimp.git
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.
This commit is contained in:
parent
2d80597fe9
commit
8fa7568565
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2006-01-30 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* app/config/config-types.h: moved GIMP_PARAM defines from here ...
|
* 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 */
|
/* set the first point and go into ADDING mode */
|
||||||
mtool->x[0] = coords->x;
|
mtool->x[0] = coords->x + 0.5;
|
||||||
mtool->y[0] = coords->y;
|
mtool->y[0] = coords->y + 0.5;
|
||||||
mtool->point = 0;
|
mtool->point = 0;
|
||||||
mtool->num_points = 1;
|
mtool->num_points = 1;
|
||||||
mtool->function = ADDING;
|
mtool->function = ADDING;
|
||||||
|
|
Loading…
Reference in New Issue