Diffusion Krita f64101001b13

Fix a crash when copy-pasting data between two different images

Authored by dkazakov on May 11 2018, 11:03 AM.

Description

Fix a crash when copy-pasting data between two different images

We shouldn't use makeCloneFromRough() on the devices that belong to
the nodes, because it resets the defaultBounds() link of the source.
Use KisPainter::copyAreaOptimized() instead.

BUG:394068

Details

Committed
dkazakovMay 11 2018, 11:03 AM
Parents
R37:988c63089a64: Fix two crashes in the GUI classes when they are used in unittests
Branches
Unknown
Tags
Unknown