traverso-commit
[Top][All Lists]
Advanced

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

[Traverso-commit] traverso/src/core Sheet.cpp SnapList.h


From: Remon Sijrier
Subject: [Traverso-commit] traverso/src/core Sheet.cpp SnapList.h
Date: Thu, 21 Feb 2008 20:13:43 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Remon Sijrier <r_sijrier>       08/02/21 20:13:43

Modified files:
        src/core       : Sheet.cpp SnapList.h 

Log message:
        * only call SnapList::mark_dirty() in set_work_at() if the workcursor 
is snappable itself!

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/Sheet.cpp?cvsroot=traverso&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/SnapList.h?cvsroot=traverso&r1=1.16&r2=1.17

Patches:
Index: Sheet.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/Sheet.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- Sheet.cpp   21 Feb 2008 20:00:48 -0000      1.8
+++ Sheet.cpp   21 Feb 2008 20:13:42 -0000      1.9
@@ -617,7 +617,9 @@
 void Sheet::set_work_at(const TimeRef& location)
 {
        m_workLocation = location;
+       if (workSnap->is_snappable()) {
        snaplist->mark_dirty();
+       }
        emit workingPosChanged();
 }
 

Index: SnapList.h
===================================================================
RCS file: /sources/traverso/traverso/src/core/SnapList.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- SnapList.h  21 Feb 2008 20:00:48 -0000      1.16
+++ SnapList.h  21 Feb 2008 20:13:42 -0000      1.17
@@ -27,7 +27,6 @@
 #include "defines.h"
 
 class Sheet;
-class Snappable;
 
 class SnapList
 {




reply via email to

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