Commit bbe1dd76 authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Restored Selection Masks' visibility functionality

parent e422e06f
......@@ -81,7 +81,9 @@ bool KisSelectionDecoration::selectionIsActive()
Q_ASSERT(image);
KisSelectionSP selection = view()->selection();
return visible() && selection && (selection->hasPixelSelection() || selection->hasShapeSelection());
return visible() && selection &&
(selection->hasPixelSelection() || selection->hasShapeSelection()) &&
selection->isVisible();
}
void KisSelectionDecoration::selectionChanged()
......
Markdown is supported
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