[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [krita] libs/ui/canvas: Fix animation not stop on the first absent frame
From: Dmitry Kazakov <dimula73 () gmail ! com>
Date: 2016-05-16 18:36:17
Message-ID: E1b2NNJ-0000vF-O7 () scm ! kde ! org
[Download RAW message or body]
Git commit 1cb60a6987d83b4e1524d997268cf987f359effc by Dmitry Kazakov.
Committed on 16/05/2016 at 18:35.
Pushed by dkazakov into branch 'master'.
Fix animation not stop on the first absent frame
BUG:363128
Fixes T2511
M +2 -1 libs/ui/canvas/kis_animation_player.cpp
http://commits.kde.org/krita/1cb60a6987d83b4e1524d997268cf987f359effc
diff --git a/libs/ui/canvas/kis_animation_player.cpp b/libs/ui/canvas/kis_animation_player.cpp
index 62a774b..4fba8b7 100644
--- a/libs/ui/canvas/kis_animation_player.cpp
+++ b/libs/ui/canvas/kis_animation_player.cpp
@@ -285,10 +285,11 @@ void KisAnimationPlayer::uploadFrame(int frame)
m_d->useFastFrameUpload = true;
emit sigFrameChanged();
} else {
+ m_d->useFastFrameUpload = false;
+
// no OpenGL cache or the frame just not cached yet
m_d->canvas->image()->animationInterface()->switchCurrentTimeAsync(frame);
- m_d->useFastFrameUpload = false;
emit sigFrameChanged();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic