put the gimp_matrix_is_simple optimization back in.

* app/transform_core.c: put the gimp_matrix_is_simple
	optimization back in.
This commit is contained in:
jaycox 1999-08-16 10:59:14 +00:00
parent 60475da041
commit 2c206a4840
3 changed files with 14 additions and 1 deletions

View File

@ -1,6 +1,11 @@
Mon Aug 16 03:46:43 1999 Jay Cox (jaycox@earthlink.net)
* app/transform_core.c: put the gimp_matrix_is_simple
optimization back in.
Mon Aug 16 01:24:42 1999 Jay Cox (jaycox@earthlink.net)
* app/transform_core.c: data access optomizations from
* app/transform_core.c: data access optimizations from
David Hodson <hodsond@acm.org>
1999-08-16 Tor Lillqvist <tml@iki.fi>

View File

@ -1138,6 +1138,10 @@ transform_core_do (GImage *gimage,
alpha = 0;
/* turn interpolation off for simple transformations (e.g. rot90) */
if (gimp_matrix_is_simple (matrix))
interpolation = FALSE;
/* Get the background color */
gimage_get_background (gimage, drawable, bg_col);

View File

@ -1138,6 +1138,10 @@ transform_core_do (GImage *gimage,
alpha = 0;
/* turn interpolation off for simple transformations (e.g. rot90) */
if (gimp_matrix_is_simple (matrix))
interpolation = FALSE;
/* Get the background color */
gimage_get_background (gimage, drawable, bg_col);