From 8ca391baaa939906c381c6b628c834d555d24fd6 Mon Sep 17 00:00:00 2001 From: rogerbraun Date: Mon, 7 May 2012 19:03:38 +0300 Subject: [PATCH] Make Sprite dirty after loading a new graphic. --- src/org/axgl/AxSprite.as | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/axgl/AxSprite.as b/src/org/axgl/AxSprite.as index ba693fd..6e57a1b 100644 --- a/src/org/axgl/AxSprite.as +++ b/src/org/axgl/AxSprite.as @@ -125,6 +125,7 @@ package org.axgl { pivot.y = height / 2; quad = new AxQuad(this.frameWidth, this.frameHeight, this.frameWidth / texture.width, this.frameHeight / texture.height); frame = 0; + dirty = true; return this; }