traverso-commit
[Top][All Lists]
Advanced

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

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


From: Nicola Doebelin
Subject: [Traverso-commit] traverso/src/core Song.cpp
Date: Fri, 11 May 2007 19:17:18 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Nicola Doebelin <n_doebelin>    07/05/11 19:17:18

Modified files:
        src/core       : Song.cpp 

Log message:
        Fix for pre-gap if only 1 marker is present

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/Song.cpp?cvsroot=traverso&r1=1.95&r2=1.96

Patches:
Index: Song.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/Song.cpp,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -b -r1.95 -r1.96
--- Song.cpp    11 May 2007 19:04:45 -0000      1.95
+++ Song.cpp    11 May 2007 19:17:18 -0000      1.96
@@ -886,9 +886,11 @@
                                // one marker is present. We add two more at 
the beginning
                                // and at the end of the render area. But we 
must check if 
                                // the present marker happens to be at one of 
these positions.
-                               if (mlist.at(0)->get_when() != 
spec->start_frame) {
-                                       mlist.append(new Marker(m_timeline, 
spec->start_frame, Marker::TEMP_CDTRACK));
-                               }
+
+                               // The commented part now goes into the 
pregap, thus it is deactivated here
+//                             if (mlist.at(0)->get_when() != 
spec->start_frame) {
+//                                     mlist.append(new Marker(m_timeline, 
spec->start_frame, Marker::TEMP_CDTRACK));
+//                             }
                                if (mlist.at(0)->get_when() != spec->end_frame) 
{
                                        mlist.append(new Marker(m_timeline, 
spec->end_frame, Marker::TEMP_ENDMARKER));
                                }




reply via email to

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