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
Scott Petrovic
Krita
Commits
65a15c6f
Commit
65a15c6f
authored
Jan 13, 2016
by
Jouni Pentikäinen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a crash for empty keyframe channel
parent
10204672
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
krita/image/kis_keyframe_channel.cpp
krita/image/kis_keyframe_channel.cpp
+2
-0
No files found.
krita/image/kis_keyframe_channel.cpp
View file @
65a15c6f
...
...
@@ -300,6 +300,8 @@ KisTimeRange KisKeyframeChannel::affectedFrames(int time) const
KisTimeRange
KisKeyframeChannel
::
identicalFrames
(
int
time
)
const
{
if
(
m_d
->
keys
.
isEmpty
())
return
KisTimeRange
::
infinite
(
0
);
KeyframesMap
::
const_iterator
active
=
activeKeyIterator
(
time
);
KeyframesMap
::
const_iterator
next
=
active
+
1
;
...
...
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