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
aaf16ed1
Commit
aaf16ed1
authored
Aug 04, 2021
by
Jean-Baptiste Mardelle
Browse files
Fix crash moving clip with speed effect and mix.
BUG: 433579
parent
69173eb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/model/clipsnapmodel.cpp
View file @
aaf16ed1
...
...
@@ -84,7 +84,7 @@ void ClipSnapModel::addAllSnaps()
}
}
if
(
m_mixPoint
>
0
)
{
ptr
->
addPoint
(
int
(
ceil
(
m_position
+
m_mixPoint
/
m_speed
)));
ptr
->
addPoint
(
int
(
ceil
(
m_position
+
m_mixPoint
)));
}
}
}
...
...
@@ -98,7 +98,7 @@ void ClipSnapModel::removeAllSnaps()
}
}
if
(
m_mixPoint
>
0
)
{
ptr
->
removePoint
(
int
(
ceil
(
m_position
+
m_mixPoint
/
m_speed
)));
ptr
->
removePoint
(
int
(
ceil
(
m_position
+
m_mixPoint
)));
}
}
}
...
...
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