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
b748efa0
Commit
b748efa0
authored
Oct 18, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix rotoscoping points not reset when adding a second rotoscoping effect to a clip
parent
7b1d44c4
Pipeline
#38045
failed with stage
in 62 minutes and 58 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/assets/keyframes/model/rotoscoping/rotohelper.cpp
View file @
b748efa0
...
...
@@ -70,9 +70,9 @@ void RotoHelper::refreshParams(int pos)
controlPoints
<<
QVariant
(
i
.
h1
);
controlPoints
<<
QVariant
(
i
.
h2
);
}
if
(
m_monitor
)
{
m_monitor
->
setUpEffectGeometry
(
QRect
(),
centerPoints
,
controlPoints
);
}
}
if
(
m_monitor
)
{
m_monitor
->
setUpEffectGeometry
(
QRect
(),
centerPoints
,
controlPoints
);
}
}
...
...
src/monitor/monitor.cpp
View file @
b748efa0
...
...
@@ -1805,7 +1805,7 @@ void Monitor::setUpEffectGeometry(const QRect &r, const QVariantList &list, cons
if
(
!
root
)
{
return
;
}
if
(
!
list
.
isEmpty
())
{
if
(
!
list
.
isEmpty
()
||
m_qmlManager
->
sceneType
()
==
MonitorSceneRoto
)
{
root
->
setProperty
(
"centerPointsTypes"
,
types
);
root
->
setProperty
(
"centerPoints"
,
list
);
}
...
...
Write
Preview
Supports
Markdown
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