traverso-commit
[Top][All Lists]
Advanced

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

[Traverso-commit] traverso/src/commands MoveClip.cpp


From: Remon Sijrier
Subject: [Traverso-commit] traverso/src/commands MoveClip.cpp
Date: Thu, 14 Feb 2008 08:41:51 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Remon Sijrier <r_sijrier>       08/02/14 08:41:51

Modified files:
        src/commands   : MoveClip.cpp 

Log message:
        * fix crash

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/commands/MoveClip.cpp?cvsroot=traverso&r1=1.65&r2=1.66

Patches:
Index: MoveClip.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/commands/MoveClip.cpp,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -b -r1.65 -r1.66
--- MoveClip.cpp        13 Feb 2008 23:02:17 -0000      1.65
+++ MoveClip.cpp        14 Feb 2008 08:41:51 -0000      1.66
@@ -93,8 +93,6 @@
        
        if (m_actionType == FOLD_SHEET || m_actionType == FOLD_TRACK) {
                
-               TimeRef currentLocation = 
TimeRef(cpointer().on_first_input_event_scene_x() * d->sv->timeref_scalefactor);
-               
                QList<AudioClip*> movingClips;
                QList<Track*> tracks;
                
@@ -109,6 +107,8 @@
                        tracks = d->sv->get_sheet()->get_tracks();
                }
                
+               TimeRef currentLocation = 
TimeRef(cpointer().on_first_input_event_scene_x() * d->sv->timeref_scalefactor);
+               
                foreach(Track* track, tracks) {
                        QList<AudioClip*> clips = track->get_cliplist();
                        foreach(AudioClip* clip, clips) {




reply via email to

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