Commit 7b0359f1 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Don't update paint layer when onion skins are disabled

parent 1ba0a6ba
......@@ -362,7 +362,7 @@ void KisPaintLayer::setDecorationsVisible(bool value, bool update)
m_d->onionSkinVisibleOverride = value;
if (update) {
if (update && onionSkinEnabled()) {
setDirty(oldExtent | extent());
}
}
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