[aseprite] 90/250: Remove invalid checks to avoid recalculating the new palette for each frame in GifDecoder

Tobias Hansen thansen at moszumanska.debian.org
Sun Dec 20 15:27:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 732f527eb15a944eba26da85326cbc6f8198b352
Author: David Capello <davidcapello at gmail.com>
Date:   Thu Sep 24 23:51:31 2015 -0300

    Remove invalid checks to avoid recalculating the new palette for each frame in GifDecoder
---
 src/app/file/gif_format.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/app/file/gif_format.cpp b/src/app/file/gif_format.cpp
index 647f9a4..569e2c3 100644
--- a/src/app/file/gif_format.cpp
+++ b/src/app/file/gif_format.cpp
@@ -485,11 +485,7 @@ private:
       }
     }
 
-    if (m_frameNum > 0 && !isLocalColormap && !needsExtraBgColor)
-      return;
-
     UniquePtr<Palette> palette;
-
     if (m_frameNum == 0)
       palette.reset(new Palette(m_frameNum, usedNColors + (needsExtraBgColor ? 1: 0)));
     else {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list