Skip to content
Commit 7da52377 authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Fixed loading of masks with the offset

That patch introduces the following changes:
1) Removed lazy initialization of masks' selection. Now you always must
   call initSelection after the creation of the mask (probably, we can
   move it into c-tor).
2) KisMask::setSelection must only be used when we need to switch the
   underlying selection explicitly (like, e.g. in
   KisImage::setGlobalSelection). In the rest of the cases you need to
   work with already existent selection.

BUG:304369
parent 52fe285d
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