Home
Phabricator
Search
Log In
Paste
P77
Masterwork From Distant Lands
Active
Public
Actions
Authored by
dkazakov
on May 3 2017, 7:29 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
diff --git a/plugins/tools/tool_smart_patch/kis_tool_smart_patch.cpp b/plugins/tools/tool_smart_patch/kis_tool_smart_patch.cpp
index 8aae695..9ede904 100644
--- a/plugins/tools/tool_smart_patch/kis_tool_smart_patch.cpp
+++ b/plugins/tools/tool_smart_patch/kis_tool_smart_patch.cpp
@@ -179,9 +179,10 @@ void KisToolSmartPatch::endPrimaryAction(KoPointerEvent *event)
KisStrokeJobData::BARRIER, KisStrokeJobData::EXCLUSIVE );
applicator.end();
- image()->waitForDone();
-
QApplication::restoreOverrideCursor();
+
+ blockUntilOperationsFinishedForced();
+
m_d->maskDev->clear();
}
dkazakov
edited the content of this paste.
(Show Details)
May 3 2017, 7:29 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
.
dkazakov
mentioned this in
D5327: Healing brush tool
.
May 3 2017, 7:38 PM
Log In to Comment