OpenToonz - An open-source full-featured 2D animation creation software
C
Delete controlpointeditortool.cpp.bak
JPUser176a04f1d1015
diff --git a/toonz/sources/tnztools/controlpointeditortool.cpp b/toonz/sources/tnztools/controlpointeditortool.cppindex 5bb2a9523..e0b71b55c 100644--- a/toonz/sources/tnztools/controlpointeditortool.cpp+++ b/toonz/sources/tnztools/controlpointeditortool.cpp@@ -680,7 +680,8 @@ void ControlPointEditorTool::leftButtonDrag(const TPointD &pos,TPointD delta = pos - m_pos;if (m_action == CP_MOVEMENT) {- if (!m_selection.isSelected(m_lastPointSelected) && e.isCtrlPressed())+ if (e.isHighFrequent()) return;+ if (!m_selection.isSelected(m_lastPointSelected) && e.isShiftPressed())m_selection.select(m_lastPointSelected); // Controllo che non venga// deselezionata l'ultima// selezione nel movimento@@ -702,11 +703,13 @@ void ControlPointEditorTool::leftButtonDrag(const TPointD &pos,m_isImageChanged = true;}if (m_action == SEGMENT_MOVEMENT) {+ if (e.isHighFrequent()) return;m_moveControlPointEditorStroke = *m_controlPointEditorStroke.clone();moveSegment(delta, true, e.isShiftPressed());m_isImageChanged = true;}if (m_action == OUT_SPEED_MOVEMENT || m_action == IN_SPEED_MOVEMENT) {+ if (e.isHighFrequent()) return;m_pos = pos;moveSpeed(delta, m_action == IN_SPEED_MOVEMENT);m_isImageChanged = true;