Commit accf4eac authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

applied fix from Theodor de Ment which fixes a wrong precondition check

2005-03-13  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/drawable_transform.pdb
	(drawable_transform_scale)
	(drawable_transform_scale_default): applied fix from Theodor de
	Ment which fixes a wrong precondition check which made certain
	scale operations impossible. Fixes bug #170195.

	* tools/pdbgen/pdb/transform_tools.pdb (scale): fixed the same
	copy & paste bug here.

	* app/pdb/drawable_transform_cmds.c
	* app/pdb/transform_tools_cmds.c: regenerated.
parent c9d5fcca
2005-03-13 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/drawable_transform.pdb
(drawable_transform_scale)
(drawable_transform_scale_default): applied fix from Theodor de
Ment which fixes a wrong precondition check which made certain
scale operations impossible. Fixes bug #170195.
* tools/pdbgen/pdb/transform_tools.pdb (scale): fixed the same
copy & paste bug here.
* app/pdb/drawable_transform_cmds.c
* app/pdb/transform_tools_cmds.c: regenerated.
2005-03-12 Michael Schumacher <schumaml@cvs.gnome.org>
* plug-ins/common/winclipboard.c: applied a patch from
......
......@@ -1327,7 +1327,7 @@ drawable_transform_scale_invoker (Gimp *gimp,
success = (gimp_item_is_attached (GIMP_ITEM (drawable)) &&
trans_info[X0] < trans_info[X1] &&
trans_info[Y0] < trans_info[X1]);
trans_info[Y0] < trans_info[Y1]);
if (success &&
gimp_drawable_mask_intersect (drawable, &x, &y, &width, &height))
......@@ -1480,7 +1480,7 @@ drawable_transform_scale_default_invoker (Gimp *gimp,
success = (gimp_item_is_attached (GIMP_ITEM (drawable)) &&
trans_info[X0] < trans_info[X1] &&
trans_info[Y0] < trans_info[X1]);
trans_info[Y0] < trans_info[Y1]);
if (success &&
gimp_drawable_mask_intersect (drawable, &x, &y, &width, &height))
......
......@@ -435,7 +435,7 @@ scale_invoker (Gimp *gimp,
success = (gimp_item_is_attached (GIMP_ITEM (drawable)) &&
trans_info[X0] < trans_info[X1] &&
trans_info[Y0] < trans_info[X1]);
trans_info[Y0] < trans_info[Y1]);
if (success &&
gimp_drawable_mask_intersect (drawable, &x, &y, &width, &height))
......
......@@ -571,7 +571,7 @@ HELP
&matrix);
CODE
trans_info[X0] < trans_info[X1] &&
trans_info[Y0] < trans_info[X1]);
trans_info[Y0] < trans_info[Y1]);
CODE2
}
......@@ -618,7 +618,7 @@ HELP
&matrix);
CODE
trans_info[X0] < trans_info[X1] &&
trans_info[Y0] < trans_info[X1]);
trans_info[Y0] < trans_info[Y1]);
CODE2
}
......
......@@ -215,7 +215,7 @@ sub scale {
success = (gimp_item_is_attached (GIMP_ITEM (drawable)) &&
trans_info[X0] < trans_info[X1] &&
trans_info[Y0] < trans_info[X1]);
trans_info[Y0] < trans_info[Y1]);
if (success &&
gimp_drawable_mask_intersect (drawable, &x, &y, &width, &height))
......
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