Commit f49a8c63 authored by Pedro Gimeno's avatar Pedro Gimeno Committed by Pedro Gimeno Fortea

Fix handling of positive Y displacements of the bumpmap. Thanks to Joao

2004-03-02  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/common/bumpmap.c (bumpmap): Fix handling of positive Y
	displacements of the bumpmap. Thanks to Joao S.O. Bueno for
	tracking this. Fixes bug #135866.
parent 2abf16ba
2004-03-02 Pedro Gimeno <pggimeno@wanadoo.es>
* plug-ins/common/bumpmap.c (bumpmap): Fix handling of positive Y
displacements of the bumpmap. Thanks to Joao S.O. Bueno for
tracking this. Fixes bug #135866.
2004-03-01 Manish Singh <yosh@gimp.org>
* configure.in: define a gimp_stable symbol based on the version
......@@ -559,8 +559,8 @@ bumpmap (void)
}
else
{
yofs1 = 0;
yofs2 = 0;
yofs2 = CLAMP (bmvals.yofs + sel_y1, 0, bm_height - 1);
yofs1 = yofs2;
yofs3 = CLAMP (yofs2 + 1, 0, bm_height - 1);
}
......
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