Skip to content

Commit

Permalink
Fix #684 - import GIF as spritesheet failed
Browse files Browse the repository at this point in the history
  • Loading branch information
juliandescottes committed May 10, 2017
1 parent 4506fdb commit f2b733c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/service/ImportService.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
this.createPiskelFromImages_(images, frameSizeX, frameSizeY, options.smoothing);
} else {
// Spritesheet
var frameImages = this.createImagesFromSheet_(images[0]);
var frameImages = this.createImagesFromSheet_(images[0], frameSizeX, frameSizeY, frameOffsetX, frameOffsetY);
this.createPiskelFromImages_(frameImages, frameSizeX, frameSizeY, options.smoothing);
}
onComplete();
Expand Down

0 comments on commit f2b733c

Please sign in to comment.