Skip to content
Commit 992c5c23 authored by Dmitry Kazakov's avatar Dmitry Kazakov Committed by Jarosław Staniek
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 b8353f49
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