Commit 48a501d7 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

SequenceWorkflow: Don't copy ClipInstance when resizing

parent 9f7fffa1
......@@ -128,7 +128,7 @@ SequenceWorkflow::resizeClip( const QUuid& uuid, qint64 newBegin, qint64 newEnd,
vlmcCritical() << "Couldn't find a clip " << uuid;
return false;
auto c = it.value();
auto& c = it.value();
auto trackId = c->trackId;
auto position = c->pos;
auto t = track( trackId, c->isAudio );
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