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
24f760e4
Commit
24f760e4
authored
Apr 06, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix resetting effect does not clear timeline keyframe view, resulting in possible crash.
Caused introduced in
b5de156b
parent
3c5985f3
Pipeline
#160495
passed with stage
in 11 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/assets/keyframes/model/keyframemodel.cpp
View file @
24f760e4
...
...
@@ -883,7 +883,7 @@ void KeyframeModel::parseAnimProperty(const QString &prop)
{
Fun
undo
=
[]()
{
return
true
;
};
Fun
redo
=
[]()
{
return
true
;
};
QSignalBlocker
bk
(
this
);
disconnect
(
this
,
&
KeyframeModel
::
modelChanged
,
this
,
&
KeyframeModel
::
sendModification
);
removeAllKeyframes
(
undo
,
redo
);
int
in
=
0
;
int
out
=
0
;
...
...
@@ -938,6 +938,7 @@ void KeyframeModel::parseAnimProperty(const QString &prop)
}
addKeyframe
(
GenTime
(
frame
,
pCore
->
getCurrentFps
()),
convertFromMltType
(
type
),
value
,
true
,
undo
,
redo
);
}
connect
(
this
,
&
KeyframeModel
::
modelChanged
,
this
,
&
KeyframeModel
::
sendModification
);
}
void
KeyframeModel
::
resetAnimProperty
(
const
QString
&
prop
)
...
...
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