Revision 348ee8b...

Go back to digest for 28th October 2012

Bug Fixes in Office

Dmitry Kazakov committed changes in [calligra] /:

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.

File Changes

Modified 10 files
  •   krita/image/kis_image.cc
  •   krita/image/kis_mask.cc
  •   krita/image/tests/kis_filter_mask_test.cpp
  •   krita/image/tests/kis_mask_test.cpp
  •   krita/image/tests/kis_transparency_mask_test.cpp
  •   krita/sdk/tests/testutil.h
  •   krita/ui/kra/kis_kra_load_visitor.cpp
  •   krita/ui/kra/kis_kra_load_visitor.h
  •   krita/ui/kra/kis_kra_loader.cpp
  •   krita/ui/kra/kis_kra_loader.h
10 files changed in total