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: Remon Sijrier
Subject: [Traverso-commit] traverso/src/core Song.cpp
Date: Mon, 11 Jun 2007 23:28:05 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Remon Sijrier <r_sijrier>       07/06/11 23:28:05

Modified files:
        src/core       : Song.cpp 

Log message:
        process the command group in Song;:go() before setting the transport 
state to true!!! 

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

Patches:
Index: Song.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/Song.cpp,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -b -r1.117 -r1.118
--- Song.cpp    8 Jun 2007 13:09:54 -0000       1.117
+++ Song.cpp    11 Jun 2007 23:28:04 -0000      1.118
@@ -673,8 +673,6 @@
 {
 //     printf("Song-%d::go m_transport is %d\n", m_id, m_transport);
        
-       CommandGroup* group = 0;
-       
        if (is_transporting() && m_recording) {
                set_recording(false);
        }
@@ -685,7 +683,7 @@
                emit transferStarted();
                
                if (m_recording && any_track_armed()) {
-                       group = new CommandGroup(this, "");
+                       CommandGroup* group = new CommandGroup(this, "");
                        int clipcount = 0;
                        foreach(Track* track, m_tracks) {
                                if (track->armed()) {
@@ -697,17 +695,13 @@
                                }
                        }
                        group->setText(tr("Recording to %n Clip(s)", "", 
clipcount));
+                       Command::process_command(group);
                }
                
                m_transport = true;
-//             printf("m_transport is %d\n", m_transport);
                realtimepath = true;
        }
        
-       if (group) {
-               return group;
-       }
-       
        return ie().succes();
 }
 




reply via email to

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