gimp r27837 - in trunk: . app/paint
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27837 - in trunk: . app/paint
- Date: Sat, 27 Dec 2008 16:11:54 +0000 (UTC)
Author: neo
Date: Sat Dec 27 16:11:54 2008
New Revision: 27837
URL: http://svn.gnome.org/viewvc/gimp?rev=27837&view=rev
Log:
2008-12-27 Sven Neumann <sven gimp org>
* app/paint/gimppaintcore.c
(gimp_paint_core_validate_saved_proj_tiles): copy-on-write from
the projection is not any longer broken, so use it here.
Modified:
trunk/ChangeLog
trunk/app/paint/gimppaintcore.c
Modified: trunk/app/paint/gimppaintcore.c
==============================================================================
--- trunk/app/paint/gimppaintcore.c (original)
+++ trunk/app/paint/gimppaintcore.c Sat Dec 27 16:11:54 2008
@@ -1099,17 +1099,7 @@
tile_manager_get_tile (gimp_pickable_get_tiles (pickable),
j, i, TRUE, FALSE);
- /* copy the pixels instead of mapping the tile because
- * copy-on-write from the projection is broken
- */
- dest_tile = tile_manager_get_tile (core->saved_proj_tiles,
- j, i, TRUE, TRUE);
-
- memcpy (tile_data_pointer (dest_tile, 0, 0),
- tile_data_pointer (src_tile, 0, 0),
- tile_size (src_tile));
-
- tile_release (dest_tile, TRUE);
+ tile_manager_map_tile (core->saved_proj_tiles, j, i, src_tile);
tile_release (src_tile, FALSE);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]