On Mon, 2006-01-30 at 16:07 +0600, Alexander Sashnov wrote: > Seems forgotten call parent constructor in class GroupSingle: > > alex$ diff -Naur pygame.orig/ pygame > diff -Naur pygame.orig/lib/sprite.py pygame/lib/sprite.py > --- pygame.orig/lib/sprite.py 2006-01-30 14:03:26.000000000 +0600 > +++ pygame/lib/sprite.py 2006-01-30 14:05:34.000000000 +0600 > @@ -430,6 +430,7 @@ > sprite and then add the new one.""" > > def __init__(self, sprite = None): > + AbstractGroup.__init__(self) > self.__sprite = None > if sprite is not None: self.add(sprite) > > > After patch image will displayed. Your diagnosis is correct. I missed this because the original GroupSingle didn't even have a draw method. Sorry. -- Joe Wreschnig <piman@xxxxxxxxxxxxxx>
Attachment:
signature.asc
Description: This is a digitally signed message part