grrmml
This commit is contained in:
parent
5502d75ca5
commit
17a147c880
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@
|
|||
piskel.addLayer(layer);
|
||||
});
|
||||
} else {
|
||||
piskel = pskl.utils.Serializer.__backwardDeserializer(data);
|
||||
piskel = pskl.utils.Serializer.backwardDeserializer_(data);
|
||||
}
|
||||
|
||||
return piskel;
|
||||
|
@ -63,7 +63,7 @@
|
|||
/**
|
||||
* Deserialize old piskel framesheets. Initially piskels were stored as arrays of frames : "[[pixelGrid],[pixelGrid],[pixelGrid]]".
|
||||
*/
|
||||
__backwardDeserializer : function (frames) {
|
||||
backwardDeserializer_ : function (frames) {
|
||||
var layer = new pskl.model.Layer('Layer 1');
|
||||
frames.forEach(function (frame) {
|
||||
layer.addFrame(pskl.model.Frame.fromPixelGrid(frame));
|
||||
|
|
Loading…
Reference in a new issue