Bug on refresh in SFC fixed
authorlbessard
Wed, 10 Sep 2008 16:46:22 +0200
changeset 265 23aad5ae0dc1
parent 264 11d5e2cb6faa
child 266 4f102c996fa3
Bug on refresh in SFC fixed
graphics/GraphicCommons.py
--- a/graphics/GraphicCommons.py	Mon Sep 08 16:59:37 2008 +0200
+++ b/graphics/GraphicCommons.py	Wed Sep 10 16:46:22 2008 +0200
@@ -315,7 +315,7 @@
         ResetCursors()
     
     def TestVisible(self, screen):
-        self.Visible = self.BoundingBox.Intersects(screen)
+        self.Visible = self.GetRedrawRect().Intersects(screen)
     
     def IsVisible(self):
         return self.Visible