-
Ell authored
When creating a drawable undo from the drawable's buffer, align the copied rectangle to the buffer's tile grid, so that all the copied tiles are COWed, saving memory and gaining speed. Add applied_x and applied_y fields to GimpDrawableUndo, specifying the position at which to apply the applied_buffer, so that we apply it in the right place, even if the undo rect has changed due to alignment.
bb9dd049