back out cacheAsBitmap on individual EntityUI sprites as it appears to cause weird...
authorRichard Fairhurst <richard@systemed.net>
Tue, 7 Dec 2010 10:30:43 +0000 (10:30 +0000)
committerRichard Fairhurst <richard@systemed.net>
Tue, 7 Dec 2010 10:30:43 +0000 (10:30 +0000)
net/systemeD/halcyon/EntityUI.as

index bc23043..b4ba411 100644 (file)
@@ -211,9 +211,7 @@ package net.systemeD.halcyon {
                
                public function redraw():Boolean {
                        if (suspended) { redrawDue=true; return false; }
-                       var r:Boolean=doRedraw();
-                       cacheSpritesAsBitmap(true);
-                       return r;
+                       return doRedraw();
                }
                
                public function doRedraw():Boolean {
@@ -238,12 +236,6 @@ package net.systemeD.halcyon {
                        styleList=null;
                }
                
-               private function cacheSpritesAsBitmap(cache:Boolean):void {
-                       for each (var s:DisplayObject in sprites) {
-                               if (s!=listenSprite) s.cacheAsBitmap=cache;
-                       }
-               }
-
        }
 
 }