Paste P119

Masterwork From Distant Lands
ActivePublic

Authored by dkazakov on Oct 23 2017, 3:32 PM.
diff --git a/libs/image/kis_async_merger.cpp b/libs/image/kis_async_merger.cpp
index 041f6fb..e363f76 100644
--- a/libs/image/kis_async_merger.cpp
+++ b/libs/image/kis_async_merger.cpp
@@ -220,6 +220,7 @@ void KisAsyncMerger::startMerge(KisBaseRectsWalker &walker, bool notifyClones) {
// All the masks should be filtered by the walkers
Q_ASSERT(currentLeaf->isLayer());
+ KIS_SAFE_ASSERT_RECOVER_NOOP(currentLeaf->visible());
QRect applyRect = item.m_applyRect;
diff --git a/libs/image/kis_layer.cc b/libs/image/kis_layer.cc
index 03978db..2acb294 100644
--- a/libs/image/kis_layer.cc
+++ b/libs/image/kis_layer.cc
@@ -698,7 +698,6 @@ QRect KisLayer::updateProjection(const QRect& rect, KisNodeSP filthyNode)
QRect updatedRect = rect;
KisPaintDeviceSP originalDevice = original();
if (!rect.isValid() ||
- !visible() ||
!originalDevice) return QRect();
if (!needProjection() && !hasEffectMasks()) {
dkazakov edited the content of this paste. (Show Details)Oct 23 2017, 3:32 PM
dkazakov changed the title of this paste from untitled to Masterwork From Distant Lands.
dkazakov updated the paste's language from autodetect to autodetect.