Commit 31fd8787 authored by Philip Lafleur's avatar Philip Lafleur Committed by Philip Lafleur
Browse files

reverted my fix to bug #144570.

2004-06-18  Philip Lafleur  <plafleur@cvs.gnome.org>

	* app/tools/gimptransformtool.c: reverted my fix to bug #144570.
parent f6c502b4
2004-06-18 Philip Lafleur <plafleur@cvs.gnome.org>
* app/tools/gimptransformtool.c: reverted my fix to bug #144570.
2004-06-18 Philip Lafleur <plafleur@cvs.gnome.org>
* app/tools/gimpfuzzyselecttool.c: Fix fuzzy select menu label.
......
......@@ -1280,26 +1280,11 @@ gimp_transform_tool_bounds (GimpTransformTool *tr_tool,
break;
case GIMP_TRANSFORM_TYPE_SELECTION:
case GIMP_TRANSFORM_TYPE_PATH:
gimp_channel_bounds (gimp_image_get_mask (gdisp->gimage),
&tr_tool->x1, &tr_tool->y1,
&tr_tool->x2, &tr_tool->y2);
break;
case GIMP_TRANSFORM_TYPE_PATH:
{
GimpVectors *vectors;
gdouble x1, y1, x2, y2;
vectors = gimp_image_get_active_vectors (gdisp->gimage);
gimp_vectors_bounds (vectors, &x1, &y1, &x2, &y2);
tr_tool->x1 = (gint) x1;
tr_tool->y1 = (gint) y1;
tr_tool->x2 = (gint) x2;
tr_tool->y2 = (gint) y2;
}
break;
}
}
......
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