Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Fix vector brush drawing issue using alt key.

Martin van Zijldbf19d51c5d8
diff --git a/toonz/sources/tnztools/toonzvectorbrushtool.cpp b/toonz/sources/tnztools/toonzvectorbrushtool.cpp
index 1645d2425..4b7784a09 100644
--- a/toonz/sources/tnztools/toonzvectorbrushtool.cpp
+++ b/toonz/sources/tnztools/toonzvectorbrushtool.cpp
@@ -1333,8 +1333,8 @@ void ToonzVectorBrushTool::checkStrokeSnapping(bool beforeMousePress,
TVectorImageP vi(getImage(false));
bool checkSnap = m_snap.getValue();
if (invertCheck) checkSnap = !checkSnap;
+ m_dragDraw = true;
if (vi && checkSnap) {
- m_dragDraw = true;
double minDistance2 = m_minDistance2;
if (beforeMousePress)
m_strokeIndex1 = -1;