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
59cc1202
Commit
59cc1202
authored
Nov 21, 2021
by
Jean-Baptiste Mardelle
Browse files
Fix crash on undo mix cut
parent
1374bd44
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/model/trackmodel.cpp
View file @
59cc1202
...
...
@@ -687,7 +687,7 @@ Fun TrackModel::requestClipResize_lambda(int clipId, int in, int out, bool right
int
blank
=
-
1
;
int
startPos
=
clip_position
;
if
(
hasMix
)
{
startPos
+=
m_allClips
[
clipId
]
->
getMix
CutPosi
tion
();
startPos
+=
m_allClips
[
clipId
]
->
getMix
Dura
tion
();
}
int
endPos
=
m_allClips
[
clipId
]
->
getPosition
()
+
out
;
int
other_blank_end
=
getBlankEnd
(
startPos
,
1
-
target_track
);
...
...
Write
Preview
Supports
Markdown
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