traverso-commit
[Top][All Lists]
Advanced

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

[Traverso-commit] traverso/src/traverso/songcanvas CurveView.cpp


From: Remon Sijrier
Subject: [Traverso-commit] traverso/src/traverso/songcanvas CurveView.cpp
Date: Fri, 20 Apr 2007 07:37:42 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Remon Sijrier <r_sijrier>       07/04/20 07:37:42

Modified files:
        src/traverso/songcanvas: CurveView.cpp 

Log message:
        added explanation why DragNode::prepare_actions() returned -1 

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/traverso/songcanvas/CurveView.cpp?cvsroot=traverso&r1=1.30&r2=1.31

Patches:
Index: CurveView.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/traverso/songcanvas/CurveView.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- CurveView.cpp       20 Apr 2007 06:37:10 -0000      1.30
+++ CurveView.cpp       20 Apr 2007 07:37:42 -0000      1.31
@@ -87,6 +87,11 @@
 
        // BEN: What?  This should be undoable.
        // TODO: Figure out what that comment means...
+       // Remon: @ Ben: Should it? Moving a node fills up the historystack
+       // rather quickly.
+       // The reason I returned -1 here is that the undo code relies on 
+       // a pre-condition that isn't satisfied all the time, and makes 
+       // Traverso segfault on undo when mouse cursor is not above the clip!
        return 1;
 }
 




reply via email to

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