From 091edd3f55915276214c5983e268b3c88c27c52b Mon Sep 17 00:00:00 2001 From: shun_iwasawa Date: Apr 26 2016 06:45:22 +0000 Subject: fix pinch tool crash --- diff --git a/toonz/sources/tnztools/pinchtool.cpp b/toonz/sources/tnztools/pinchtool.cpp index 8504f4b..0feded8 100644 --- a/toonz/sources/tnztools/pinchtool.cpp +++ b/toonz/sources/tnztools/pinchtool.cpp @@ -549,7 +549,8 @@ bool PinchTool::keyDown(int key, TUINT32 flags, const TPoint &pos) { - m_deformation->reset(); + if (!m_active) + m_deformation->reset(); #if 0 char c = (char)key;