Revision 3b03590...

Go back to digest for 5th May 2013

Bug Fixes in Office

Boudewijn Rempt committed changes in [calligra] /:

Fix loading of images with selection masks.

Selections masks call KisMask::selection() in setVisibile, which
asserts if there initSelection() hasn't been called yet. But we cannot
call initSelection at this stage of loading because we're only creating
the node hierarchy, not the binary content yet.

So, add a flag "loading" that inhibits that call & all signal emissions.

File Changes

Modified 7 files
  •   krita/image/kis_base_node.cpp
  •   krita/image/kis_base_node.h
  •   krita/image/kis_selection_mask.cpp
  •   krita/image/kis_selection_mask.h
  •   krita/ui/flake/kis_shape_layer.cc
  •   krita/ui/flake/kis_shape_layer.h
  •   krita/ui/kra/kis_kra_loader.cpp
7 files changed in total