Update of /cvsroot/freevo/freevo/src/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv22222

Modified Files:
        ZIndexRenderer.py 
Log Message:
fix crash on DEBUG>1

Index: ZIndexRenderer.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/gui/ZIndexRenderer.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** ZIndexRenderer.py   12 Oct 2003 10:56:19 -0000      1.10
--- ZIndexRenderer.py   14 Oct 2003 17:46:54 -0000      1.11
***************
*** 7,10 ****
--- 7,13 ----
  #-----------------------------------------------------------------------
  # $Log$
+ # Revision 1.11  2003/10/14 17:46:54  dischi
+ # fix crash on DEBUG>1
+ #
  # Revision 1.10  2003/10/12 10:56:19  dischi
  # change debug to use _debug_ and set level to 2
***************
*** 184,187 ****
--- 187,193 ----
          Does anyone have a better idea for a name for this function?
          """
+ 
+         return
+     
          # oi = self.zindex.index(object)
          # if not len(self.zindex) > (oi+1):
***************
*** 251,258 ****
                  # o.bg_surface = osd.getsurface(o.left, o.top, 
                  #                               o.width, o.height)
!                 if config.DEBUG > 1:
!                     o.bg_image = o.bg_surface.convert()
!                     iname = '/tmp/bg1-%s.bmp' % xx
!                     pygame.image.save( o.bg_image, iname )
                  o.draw()
              xx += 1
--- 257,264 ----
                  # o.bg_surface = osd.getsurface(o.left, o.top, 
                  #                               o.width, o.height)
!                 # if config.DEBUG > 1:
!                 #     o.bg_image = o.bg_surface.convert()
!                 #     iname = '/tmp/bg1-%s.bmp' % xx
!                 #     pygame.image.save( o.bg_image, iname )
                  o.draw()
              xx += 1




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to