Skip to content
  • Halla Rempt's avatar
    BUG: 318759 · b5ec0775
    Halla Rempt authored
    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.
    b5ec0775