Commit 2edd422a authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

should actually call gimp_item_flip() on the path to transform. Fixes bug

2003-10-31  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpfliptool.c (gimp_flip_tool_transform): should
	actually call gimp_item_flip() on the path to transform.
	Fixes bug #125895.

	* app/tools/gimptransformtool.c (gimp_transform_tool_notify_type):
	if the transform tool is in the CREATING state, don't skip the
	whole callback but still copy the transform type and direction
	from the options to the tool. Fixes preview of transformed paths.
parent cbc503c1
2003-10-31 Michael Natterer <mitch@gimp.org>
* app/tools/gimpfliptool.c (gimp_flip_tool_transform): should
actually call gimp_item_flip() on the path to transform.
Fixes bug #125895.
* app/tools/gimptransformtool.c (gimp_transform_tool_notify_type):
if the transform tool is in the CREATING state, don't skip the
whole callback but still copy the transform type and direction
from the options to the tool. Fixes preview of transformed paths.
2003-10-30 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimpsizeentry.c: moved all signal emissions to
......@@ -275,7 +275,7 @@ gimp_flip_tool_transform (GimpTransformTool *trans_tool,
break;
case GIMP_TRANSFORM_TYPE_PATH:
/* TODO */
gimp_item_flip (active_item, options->flip_type, axis, FALSE);
break;
}
......
......@@ -1372,18 +1372,19 @@ gimp_transform_tool_notify_type (GimpTransformOptions *options,
GParamSpec *pspec,
GimpTransformTool *tr_tool)
{
if (tr_tool->function == TRANSFORM_CREATING)
return;
gimp_draw_tool_pause (GIMP_DRAW_TOOL (tr_tool));
if (tr_tool->function != TRANSFORM_CREATING)
gimp_draw_tool_pause (GIMP_DRAW_TOOL (tr_tool));
tr_tool->type = options->type;
tr_tool->direction = options->direction;
/* recalculate the tool's transformation matrix */
gimp_transform_tool_recalc (tr_tool, GIMP_TOOL (tr_tool)->gdisp);
if (tr_tool->function != TRANSFORM_CREATING)
{
/* recalculate the tool's transformation matrix */
gimp_transform_tool_recalc (tr_tool, GIMP_TOOL (tr_tool)->gdisp);
gimp_draw_tool_resume (GIMP_DRAW_TOOL (tr_tool));
gimp_draw_tool_resume (GIMP_DRAW_TOOL (tr_tool));
}
}
static void
......
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