Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e6e9fea

Browse files
committed
Fix crash when liquify transform is started too quickly
Basically, we shouldn't initiate any transform action until the transform strategy has finished preparing tool initialization (which is flagged by setting m_transform.rootNode()). All user actions happened before the initialization should be ignored (he doesn't have any feedback anyway). BUG:411703
1 parent 20a8553 commit e6e9fea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/tools/tool_transform2/kis_tool_transform.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ void KisToolTransform::beginActionImpl(KoPointerEvent *event, bool usePrimaryAct
281281

282282
if (!m_strokeId) {
283283
startStroke(m_currentArgs.mode(), false);
284-
} else {
284+
} else if (m_transaction.rootNode()) {
285285
bool result = false;
286286

287287
if (usePrimaryAction) {

0 commit comments

Comments
 (0)