Skip to content
Commit 69fc58bc authored by Halla Rempt's avatar Halla Rempt Committed by Siddharth Sharma
Browse files

BUG: 318759

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.
parent 4f32c4cf
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