Merge branch 'master' into gh-pages

This commit is contained in:
juliandescottes 2012-09-08 17:42:17 +02:00
commit e2960ecdfb

View File

@ -2,7 +2,7 @@
var ns = $.namespace("pskl.model"); var ns = $.namespace("pskl.model");
ns.Frame = function (pixels) { ns.Frame = function (pixels) {
this.pixels = pixels; this.pixels = this.clonePixels_(pixels);
this.previousStates = [this.getPixels()]; this.previousStates = [this.getPixels()];
this.stateIndex = 0; this.stateIndex = 0;
}; };
@ -24,7 +24,7 @@
}; };
ns.Frame.prototype.clone = function () { ns.Frame.prototype.clone = function () {
return new ns.Frame(this._clonePixels()); return new ns.Frame(this.getPixels());
}; };
/** /**