fixed body scaling of chuck animation frames from 130% back to 100%

This commit is contained in:
logsol 2014-03-08 01:54:26 +01:00
parent 8730324a83
commit bdd62a4a11
256 changed files with 7 additions and 5 deletions

View file

@ -22,6 +22,8 @@ function (Parent, DomController, PIXI, Settings, Nc) {
this.loader = null;
this.init();
this.pixi = PIXI;
PIXI.BaseTexture.SCALE_MODE.DEFAULT = PIXI.BaseTexture.SCALE_MODE.NEAREST;
}
PixiView.prototype = Object.create(Parent.prototype);
@ -66,7 +68,7 @@ function (Parent, DomController, PIXI, Settings, Nc) {
PixiView.prototype.createMesh = function (texturePath, callback, options) {
var texture = PIXI.Texture.fromImage(texturePath, false, PIXI.BaseTexture.SCALE_MODE.NEAREST);
var texture = PIXI.Texture.fromImage(texturePath);
var mesh = new PIXI.Sprite(texture);