Commit 1181bafa by luyikei

Clip.qml: Better handling of lastPosition

parent cc9bea20
......@@ -348,7 +348,7 @@ Item {
uuid: model.uuid
libraryUuid: model.libraryUuid
position: model.position
lastPosition: model.lastPosition
lastPosition: model.position
begin: model.begin
end: model.end
clipInfo: model
......
......@@ -93,7 +93,6 @@ Rectangle {
newDict["begin"] = clipDict["begin"];
newDict["end"] = clipDict["end"];
newDict["position"] = clipDict["position"];
newDict["lastPosition"] = clipDict["position"];
newDict["length"] = clipDict["length"];
newDict["libraryUuid"] = clipDict["libraryUuid"];
newDict["uuid"] = clipDict["uuid"];
......@@ -656,6 +655,7 @@ Rectangle {
var clipInfo = workflow.clipInfo( uuid );
var clip = findClipItem( uuid );
clip.position = clipInfo["position"];
clip.lastPosition = clipInfo["position"];
clip.end = clipInfo["end"];
clip.begin = clipInfo["begin"];
clip.updateEffects( clipInfo );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment