Skip to content
GitLab
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
64362c30
Commit
64362c30
authored
Sep 26, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix pasting effect with keyframes partially broken
parent
a77cecae
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/effects/effectstack/model/effectstackmodel.cpp
View file @
64362c30
...
...
@@ -346,6 +346,7 @@ bool EffectStackModel::fromXml(const QDomElement &effectsXml, Fun &undo, Fun &re
int
currentDuration
=
pCore
->
getItemDuration
(
m_ownerId
);
if
(
currentDuration
>
1
)
{
currentDuration
--
;
currentDuration
+=
currentIn
;
}
QString
pValue
=
KeyframeModel
::
getAnimationStringWithOffset
(
effect
,
pnode
.
text
(),
currentIn
-
parentIn
,
currentDuration
);
parameters
.
append
(
QPair
<
QString
,
QVariant
>
(
pName
,
QVariant
(
pValue
)));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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