From 0231580ff0af7c39133f53dc73d1989b3a6b43fb Mon Sep 17 00:00:00 2001 From: shun_iwasawa Date: Dec 05 2017 06:45:51 +0000 Subject: fix animate tool --- diff --git a/toonz/sources/tnztools/tooloptionscontrols.cpp b/toonz/sources/tnztools/tooloptionscontrols.cpp index 5d822e7..ea14e28 100644 --- a/toonz/sources/tnztools/tooloptionscontrols.cpp +++ b/toonz/sources/tnztools/tooloptionscontrols.cpp @@ -1215,6 +1215,7 @@ void PegbarChannelField::onChange(TMeasuredValue *fld, bool addToUndo) { // and only for the first drag // This should always fire if addToUndo is true if (!m_firstMouseDrag) { + m_before = TStageObjectValues(); m_before.setFrameHandle(m_frameHandle); m_before.setObjectHandle(m_objHandle); m_before.setXsheetHandle(m_xshHandle);