]> git.sesse.net Git - kdenlive/commitdiff
Fix monitor scene update when editing a keyframe at the very beginning of the clip
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 5 Sep 2010 13:17:39 +0000 (13:17 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 5 Sep 2010 13:17:39 +0000 (13:17 +0000)
svn path=/trunk/kdenlive/; revision=4843

src/renderer.cpp

index 1ec3d2a0dd439bb92663e63e4f6ea171a87af696..95e9b26bbe8fcb00bf6ce184b0800a1a7ae232fa 100644 (file)
@@ -3412,7 +3412,7 @@ void Render::mltUpdateTransition(QString oldTag, QString tag, int a_track, int b
         mltAddTransition(tag, a_track, b_track, in, out, xml, false);
     }
 
-    if (m_mltProducer->position() > in.frames(m_fps) && m_mltProducer->position() < out.frames(m_fps)) refresh();
+    if (m_mltProducer->position() >= in.frames(m_fps) && m_mltProducer->position() <= out.frames(m_fps)) refresh();
 }
 
 void Render::mltUpdateTransitionParams(QString type, int a_track, int b_track, GenTime in, GenTime out, QDomElement xml)