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
b660bb82
Commit
b660bb82
authored
Mar 16, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix reset tracker effect incorrectly moves analyse rectangle.
Related to
#1353
parent
5e7d7c0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/assets/view/widgets/buttonparamwidget.cpp
View file @
b660bb82
...
...
@@ -86,8 +86,7 @@ ButtonParamWidget::ButtonParamWidget(std::shared_ptr<AssetParameterModel> model,
// Tracker needs some special config on reset
QString
current
=
m_model
->
getAsset
()
->
get
(
m_keyParam
.
toUtf8
().
constData
());
if
(
!
current
.
isEmpty
())
{
// Extract first keyframe
current
=
current
.
section
(
QLatin1Char
(
'='
),
1
);
// Only keep first keyframe
current
=
current
.
section
(
QLatin1Char
(
';'
),
0
,
0
);
}
if
(
current
.
isEmpty
())
{
...
...
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