Commit f1c78b1d authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

copy-on-write from the projection is not any longer broken, so use it

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.


svn path=/trunk/; revision=27837
parent a4daf7f2
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.
2008-12-27 Sven Neumann <sven@gimp.org>
Bug 564087 Using clone tool on a layer with a part out of canvas
......
......@@ -1099,17 +1099,7 @@ gimp_paint_core_validate_saved_proj_tiles (GimpPaintCore *core,
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);
}
}
......
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