traverso-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Traverso-commit] traverso/src/core CurveNode.cpp


From: Remon Sijrier
Subject: [Traverso-commit] traverso/src/core CurveNode.cpp
Date: Fri, 23 Nov 2007 14:56:36 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Remon Sijrier <r_sijrier>       07/11/23 14:56:36

Modified files:
        src/core       : CurveNode.cpp 

Log message:
        * do nothing if the new when && value are the same as the current ones

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/CurveNode.cpp?cvsroot=traverso&r1=1.7&r2=1.8

Patches:
Index: CurveNode.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/CurveNode.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- CurveNode.cpp       23 Feb 2007 13:49:53 -0000      1.7
+++ CurveNode.cpp       23 Nov 2007 14:56:36 -0000      1.8
@@ -17,7 +17,7 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA.
 
-$Id: CurveNode.cpp,v 1.7 2007/02/23 13:49:53 r_sijrier Exp $
+$Id: CurveNode.cpp,v 1.8 2007/11/23 14:56:36 r_sijrier Exp $
 */
 
 #include "CurveNode.h"
@@ -35,6 +35,7 @@
 
 void CurveNode::set_when_and_value(double when, double value)
 {
+       if (this->when == when && this->value == value) return;
        this->when = when;
        this->value = value;
        emit m_curve->nodePositionChanged();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]