Skip to content
Commit 1d969863 authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Fix a crash when trying to copy-paste the background layer

Such layers usually have non-transparent default pixel, which
automatically needs an image for exact bounds calculation, which
doesn't exist for the detached layers.

The patch saves the copied area bounds on the construction
of mime data, much before the layers become detached.

BUG:458890,458857,458248,458941


(cherry picked from commit aac93758)
parent 7374a8ec
Loading
Loading
Loading
Pipeline #232905 passed with stage
in 1 hour, 3 minutes, and 58 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment