OpenToonz - An open-source full-featured 2D animation creation software
C
prevent ctrl firing angle snap without shift for qol
konero9b6e92259ded
diff --git a/toonz/sources/tnztools/fullcolorbrushtool.cpp b/toonz/sources/tnztools/fullcolorbrushtool.cppindex 475241e1c..eda00f43c 100644--- a/toonz/sources/tnztools/fullcolorbrushtool.cpp+++ b/toonz/sources/tnztools/fullcolorbrushtool.cpp@@ -318,7 +318,7 @@ void FullColorBrushTool::leftButtonDown(const TPointD &pos,if (!ri) return;// Modifier to do straight line- if (e.isShiftPressed() || e.isCtrlPressed()) {+ if (e.isShiftPressed()) {m_isStraight = true;m_firstPoint = pos;m_lastPoint = pos;diff --git a/toonz/sources/tnztools/toonzrasterbrushtool.cpp b/toonz/sources/tnztools/toonzrasterbrushtool.cppindex 2542d2045..966d3344a 100644--- a/toonz/sources/tnztools/toonzrasterbrushtool.cpp+++ b/toonz/sources/tnztools/toonzrasterbrushtool.cpp@@ -1288,7 +1288,7 @@ void ToonzRasterBrushTool::leftButtonDown(const TPointD &pos,}// Modifier to do straight line- if (e.isShiftPressed() || e.isCtrlPressed()) {+ if (e.isShiftPressed()) {m_isStraight = true;m_firstPoint = pos;m_lastPoint = pos;diff --git a/toonz/sources/tnztools/toonzvectorbrushtool.cpp b/toonz/sources/tnztools/toonzvectorbrushtool.cppindex 806cdf3f5..c5c18f53c 100644--- a/toonz/sources/tnztools/toonzvectorbrushtool.cpp+++ b/toonz/sources/tnztools/toonzvectorbrushtool.cpp@@ -786,7 +786,7 @@ void ToonzVectorBrushTool::leftButtonDrag(const TPointD &pos,invalidateRect +=TRectD(m_lastSnapPoint - snapThick, m_lastSnapPoint + snapThick);- if (e.isCtrlPressed()) {+ if (e.isShiftPressed() && e.isCtrlPressed()) {TPointD m_firstPoint = m_track.getFirstPoint();double denominator = m_lastSnapPoint.x - m_firstPoint.x;