Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Multimedia
Kdenlive
Commits
8635dab7
Commit
8635dab7
authored
Jul 19, 2016
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix editing animatedrect parameter not updating monitor scene
parent
d7b43239
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/effectstack/widgets/animationwidget.cpp
src/effectstack/widgets/animationwidget.cpp
+2
-0
No files found.
src/effectstack/widgets/animationwidget.cpp
View file @
8635dab7
...
...
@@ -771,11 +771,13 @@ void AnimationWidget::slotAdjustRectKeyframeValue()
// This is a keyframe
m_animProperties
.
anim_set
(
m_rectParameter
.
toUtf8
().
constData
(),
rect
,
pos
,
m_outPoint
,
(
mlt_keyframe_type
)
m_selectType
->
currentAction
()
->
data
().
toInt
());
emit
parameterChanged
();
setupMonitor
(
QRect
(
rect
.
x
,
rect
.
y
,
rect
.
w
,
rect
.
h
));
}
else
if
(
m_animController
.
key_count
()
<=
1
)
{
pos
=
m_animController
.
key_get_frame
(
0
);
if
(
pos
>=
0
)
{
m_animProperties
.
anim_set
(
m_rectParameter
.
toUtf8
().
constData
(),
rect
,
pos
,
m_outPoint
,
(
mlt_keyframe_type
)
m_selectType
->
currentAction
()
->
data
().
toInt
());
emit
parameterChanged
();
setupMonitor
(
QRect
(
rect
.
x
,
rect
.
y
,
rect
.
w
,
rect
.
h
));
}
}
}
...
...
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