From 5c1b1d28a96025d8b2b92eb2e4528080e6fc7dcb Mon Sep 17 00:00:00 2001 From: flurick <the3drick@gmail.com> Date: May 01 2023 07:11:42 +0000 Subject: Fix tablet tools (#4860) * Fix change cursor back on entering canvas * Fix enable tablet in vector tape tool (Despite the italian debate comments) --- diff --git a/toonz/sources/tnztools/vectortapetool.cpp b/toonz/sources/tnztools/vectortapetool.cpp index fe496e6..808e05b 100644 --- a/toonz/sources/tnztools/vectortapetool.cpp +++ b/toonz/sources/tnztools/vectortapetool.cpp @@ -327,7 +327,7 @@ public: if (!vi) return; // BUTTA e rimetti (Dava problemi con la penna) - if (!m_draw) return; // Questa riga potrebbe non essere messa + //if (!m_draw) return; // Questa riga potrebbe non essere messa // m_draw=true; //Perche'??? Non basta dargli true in onEnter?? if (m_type.getValue() == RECT) return; diff --git a/toonz/sources/toonz/sceneviewerevents.cpp b/toonz/sources/toonz/sceneviewerevents.cpp index 19b8233..22945df 100644 --- a/toonz/sources/toonz/sceneviewerevents.cpp +++ b/toonz/sources/toonz/sceneviewerevents.cpp @@ -408,7 +408,6 @@ void SceneViewer::tabletEvent(QTabletEvent *e) { default: break; } - e->accept(); } //-----------------------------------------------------------------------------