Commit c2a1665f authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix an assert in Transform Tool when working with a tablet (and touch)

Don't register mouse (tablet, touch) actions for the transform stroke
until it is fully initialized.
parent a75f87cd
......@@ -303,6 +303,7 @@ void KisToolTransform::beginActionImpl(KoPointerEvent *event, bool usePrimaryAct
void KisToolTransform::continueActionImpl(KoPointerEvent *event, bool usePrimaryAction, KisTool::AlternateAction action)
{
if (mode() != KisTool::PAINT_MODE) return;
if (!m_transaction.rootNode()) return;
m_actuallyMoveWhileSelected = true;
......
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