Put the famous idnetityMatrix typo back in so it doesn't break Pixi

This commit is contained in:
Richard Davey 2013-09-19 13:33:51 +01:00
parent 7dd63df087
commit 3f1cafe21f
2 changed files with 4 additions and 1 deletions

View file

@ -42,6 +42,7 @@ Version 1.0.5 (In progress)
* Fixed a horrendously sneaky bug: If a new tween was created in the onComplete callback of a tween about to be deleted, it would get automatically spliced.
* Added a pendingDelete property to Tween to stop tweens that were removed during a callback from causing update errors during the TweenManager loop.
* Added Group.length property.
* Added explicit x/y attributes to Phaser.Text to make it work with the camera system (thanks cocoademon).

View file

@ -9,7 +9,9 @@ Phaser.RenderTexture = function (game, key, width, height) {
this.width = width || 100;
this.height = height || 100;
this.identityMatrix = PIXI.mat3.create();
// I know this has a typo in it, but it's because the PIXI.RenderTexture does and we need to pair-up with it
// once they update pixi to fix the typo, we'll fix it here too :)
this.indetityMatrix = PIXI.mat3.create();
this.frame = new PIXI.Rectangle(0, 0, this.width, this.height);