Fix compositing sort error.

BUG: #407077
parent 0b58e790
Pipeline #3020 passed with stage
in 19 minutes and 9 seconds
......@@ -2458,7 +2458,7 @@ bool TimelineModel::replantCompositions(int currentCompo, bool updateView)
}
}
// sort by decreasing b_track
std::sort(compos.begin(), compos.end(), [](const std::pair<int, int> &a, const std::pair<int, int> &b) { return a.first > b.first; });
std::sort(compos.begin(), compos.end(), [](const std::pair<int, int> &a, const std::pair<int, int> &b) { return a.first < b.first; });
// replant
QScopedPointer<Mlt::Field> field(m_tractor->field());
field->lock();
......
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