Commit e6e9fea5 authored by Dmitry Kazakov's avatar Dmitry Kazakov

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).

parent 20a85537
......@@ -281,7 +281,7 @@ void KisToolTransform::beginActionImpl(KoPointerEvent *event, bool usePrimaryAct
if (!m_strokeId) {
startStroke(m_currentArgs.mode(), false);
} else {
} else if (m_transaction.rootNode()) {
bool result = false;
if (usePrimaryAction) {
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