Diffusion Krita cf3682662b4d

Fix crash opening .kra with incorrect clone source

Authored by tymond on Dec 4 2019, 6:30 PM.

Description

Fix crash opening .kra with incorrect clone source

Before this commit, files created using copying and pasting
clone layers from one file to another would be corrupted
and crash Krita when the user tried to open them.
This commit fixes crashing on opening those files.
After this commit, all clone layers are replaced by
empty paint layers. (Empty, because all data is lost).

CCBUG:414699

Details