Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
5d6376f8
Commit
5d6376f8
authored
May 02, 2019
by
Jean-Baptiste Mardelle
Browse files
Fix compositing sort error.
BUG: #407077
parent
0b58e790
Pipeline
#3020
passed with stage
in 19 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/model/timelinemodel.cpp
View file @
5d6376f8
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment