gimp r26732 - in trunk: . app/paint-funcs
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26732 - in trunk: . app/paint-funcs
- Date: Sat, 23 Aug 2008 22:58:16 +0000 (UTC)
Author: neo
Date: Sat Aug 23 22:58:16 2008
New Revision: 26732
URL: http://svn.gnome.org/viewvc/gimp?rev=26732&view=rev
Log:
2008-08-24 Sven Neumann <sven gimp org>
* app/paint-funcs/scale-region.c (scale): removed optimization
of
the case where the source and dest regions are the same size.
This
should not happen any longer.
Modified:
trunk/ChangeLog
trunk/app/paint-funcs/scale-region.c
Modified: trunk/app/paint-funcs/scale-region.c
==============================================================================
--- trunk/app/paint-funcs/scale-region.c (original)
+++ trunk/app/paint-funcs/scale-region.c Sat Aug 23 22:58:16 2008
@@ -519,26 +519,6 @@
}
}
- /* if scale is 2^n */
- if (src_width == dst_width && src_height == dst_height)
- {
- PixelRegion srcPR;
- PixelRegion dstPR;
-
- pixel_region_init (&srcPR, srcTM, 0, 0, src_width, src_height, FALSE);
- pixel_region_init (&dstPR, dstTM, 0, 0, src_width, src_height, TRUE);
-
- copy_region (&srcPR, &dstPR);
-
- if (progress_callback)
- {
- *progress += dst_tilerows * dst_tilecols;
- progress_callback (0, max_progress, *progress, progress_data);
- }
-
- return;
- }
-
if (interpolation == GIMP_INTERPOLATION_LANCZOS )
kernel_lookup = create_lanczos3_lookup ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]