Commit a73d42f5 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix crash and corruption (disappearing effect) when dropping a clip close to 0 in timeline.

Related to #1371
parent 33634f32
Pipeline #151978 passed with stage
in 6 minutes and 58 seconds
......@@ -283,8 +283,7 @@ Item{
item.audioStream = model.audioStream
item.multiStream = model.multiStream
item.aStreamIndex = model.audioStreamIndex
console.log('loaded clip with Astream: ', model.audioStream)
console.log('loaded clip with Astream: ', model.audioStream)
} else if (model.clipType == ProducerType.Composition) {
console.log('loaded composition: ', model.start, ', ID: ', model.item, ', index: ', trackRoot.DelegateModel.itemsIndex)
//item.aTrack = model.a_track
......
......@@ -299,7 +299,6 @@ Rectangle {
}
function endDrag() {
console.log('ENDING DRAG!!!!!!!!!!!!!!!!!!!!!!\n')
dragProxy.draggedItem = -1
dragProxy.x = 0
dragProxy.y = 0
......@@ -712,6 +711,7 @@ Rectangle {
clearDropData()
} else {
// Clip is dropped
processDrop()
}
}
onPositionChanged: {
......@@ -2087,7 +2087,6 @@ Rectangle {
}
}
// This provides continuous scrolling at the left/right edges.
Timer {
id: scrollTimer
......
Supports Markdown
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