]> git.sesse.net Git - kdenlive/blobdiff - src/abstractclipitem.h
Fix keyframes corruption:
[kdenlive] / src / abstractclipitem.h
index fdc914381809617c23b94ae1f1b51eabc8858f1c..38efede3af277f09cb5b36449bf1eb210b41d1df 100644 (file)
@@ -48,8 +48,10 @@ public:
     void updateKeyFramePos(const GenTime pos, const double value);
     int addKeyFrame(const GenTime pos, const double value);
     bool hasKeyFrames() const;
+    int editedKeyFramePos() const;
     int selectedKeyFramePos() const;
     double selectedKeyFrameValue() const;
+    double editedKeyFrameValue() const;
     double keyFrameFactor() const;
     ItemInfo info() const;
     CustomTrackScene* projectScene();
@@ -77,7 +79,9 @@ public:
 protected:
     ItemInfo m_info;
 //    int m_track;
+    /** The position of the current keyframe when it has moved */
     int m_editedKeyframe;
+    /** The position of the current keyframe before it was moved */
     int m_selectedKeyframe;
     /*    GenTime m_cropStart;
         GenTime m_cropDuration;