Author: mjj29-guest
Date: 2007-12-01 13:12:23 +0000 (Sat, 01 Dec 2007)
New Revision: 4822

Modified:
   packages/trunk/fretsonfire/debian/changelog
   packages/trunk/fretsonfire/debian/patches/svg.patch
Log:
enable use of cached pngs


Modified: packages/trunk/fretsonfire/debian/changelog
===================================================================
--- packages/trunk/fretsonfire/debian/changelog 2007-12-01 12:56:28 UTC (rev 
4821)
+++ packages/trunk/fretsonfire/debian/changelog 2007-12-01 13:12:23 UTC (rev 
4822)
@@ -8,6 +8,7 @@
   [ Matthew Johnson ]
   * Correct obvious inaccuracies in man page.
   * Add dependency on python-numty
+  * Enable use of cached png files
 
  -- Miriam Ruiz <[EMAIL PROTECTED]>  Tue, 20 Nov 2007 18:58:51 +0000
 

Modified: packages/trunk/fretsonfire/debian/patches/svg.patch
===================================================================
--- packages/trunk/fretsonfire/debian/patches/svg.patch 2007-12-01 12:56:28 UTC 
(rev 4821)
+++ packages/trunk/fretsonfire/debian/patches/svg.patch 2007-12-01 13:12:23 UTC 
(rev 4822)
@@ -14,3 +14,14 @@
      self.reset()
      
      if baseTransform:
+--- fretsonfire-1.2.451.dfsg.orig/src/Svg.py   2007-12-01 13:10:35.897204554 
+0000
++++ fretsonfire-1.2.451.dfsg/src/Svg.py        2007-12-01 13:10:47.097347177 
+0000
+@@ -539,7 +539,7 @@
+     elif type(svgData) == str:
+       # Check whether we have a cached bitmap version
+       bitmapFile = svgData.replace(".svg", ".png")
+-      if svgData.endswith(".svg") and os.path.exists(bitmapFile) and 0:
++      if svgData.endswith(".svg") and os.path.exists(bitmapFile) and 1:
+         Log.debug("Loading cached bitmap '%s' instead of '%s'." % 
(bitmapFile, svgData))
+         self.texture = Texture(bitmapFile)
+       else:


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to