Skip to content
GitLab
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
8cce530d
Commit
8cce530d
authored
Mar 11, 2020
by
Jean-Baptiste Mardelle
Browse files
Setting clip out point should include current frame.
Related to
#318
parent
cad9ec9f
Pipeline
#16304
failed with stage
in 2 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/timelinecontroller.cpp
View file @
8cce530d
...
...
@@ -799,7 +799,7 @@ void TimelineController::setOutPoint()
if
(
start
+
m_model
->
getItemPlaytime
(
id
)
==
cursorPos
)
{
continue
;
}
int
size
=
cursorPos
-
start
;
int
size
=
cursorPos
-
start
+
1
;
m_model
->
requestItemResize
(
id
,
size
,
true
,
true
,
0
,
false
);
selectionFound
=
true
;
}
...
...
@@ -815,7 +815,7 @@ void TimelineController::setOutPoint()
if
(
cid
>=
0
)
{
int
start
=
m_model
->
getItemPosition
(
cid
);
if
(
start
+
m_model
->
getItemPlaytime
(
cid
)
!=
cursorPos
)
{
int
size
=
cursorPos
-
start
;
int
size
=
cursorPos
-
start
+
1
;
m_model
->
requestItemResize
(
cid
,
size
,
true
,
true
,
0
,
false
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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