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
0884e247
Commit
0884e247
authored
May 18, 2021
by
Julius Künzel
⚠
Browse files
Fix keyframeview position in mixes
parent
a93b4c33
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/assets/model/assetparametermodel.cpp
View file @
0884e247
...
...
@@ -428,7 +428,7 @@ QVariant AssetParameterModel::data(const QModelIndex &index, int role) const
return
comment
;
}
case
InRole
:
return
m_asset
->
get_int
(
"in"
);
return
pCore
->
getItemIn
(
m_ownerId
);
case
OutRole
:
return
m_asset
->
get_int
(
"out"
);
case
ParentInRole
:
...
...
src/transitions/view/transitionstackview.cpp
View file @
0884e247
...
...
@@ -79,7 +79,7 @@ void TransitionStackView::setModel(const std::shared_ptr<AssetParameterModel> &m
connect
(
m_trackBox
,
SIGNAL
(
currentIndexChanged
(
int
)),
this
,
SLOT
(
updateTrack
(
int
)));
connect
(
this
,
&
AssetParameterView
::
seekToPos
,
[
this
](
int
pos
)
{
// at this point, the effects returns a pos relative to the clip. We need to convert it to a global time
int
clipIn
=
0
;
//
pCore->getItemPosition(m_model->getOwnerId());
int
clipIn
=
pCore
->
getItemPosition
(
m_model
->
getOwnerId
());
emit
seekToTransPos
(
pos
+
clipIn
);
});
emit
initKeyframeView
(
true
);
...
...
Julius Künzel
⚠
@jlskuz
mentioned in commit
39c32a8d
·
May 21, 2021
mentioned in commit
39c32a8d
mentioned in commit 39c32a8d8a7bed57a93bf3c9a45f2a1b23ef708f
Toggle commit 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