Fix old deserializers to match new callback func

This commit is contained in:
Dávid Szabó 2016-08-26 01:49:39 +02:00 committed by Julian Descottes
parent fefc635e25
commit dbbd57ae28
2 changed files with 2 additions and 2 deletions

View File

@ -14,6 +14,6 @@
var descriptor = new pskl.model.piskel.Descriptor('Deserialized piskel', '');
var layer = pskl.model.Layer.fromFrames('Layer 1', frames);
this.callback_(pskl.model.Piskel.fromLayers([layer], descriptor));
this.callback_(pskl.model.Piskel.fromLayers([layer], descriptor), { fps: Constants.DEFAULTS.FPS});
};
})();

View File

@ -16,7 +16,7 @@
piskel.addLayer(layer);
}.bind(this));
this.callback_(piskel);
this.callback_(piskel, { fps: Constants.DEFAULTS.FPS});
};
ns.Deserializer_v1.prototype.deserializeLayer = function (layerString) {