Fixed png preview orientation when saving
This commit is contained in:
parent
2deaf00911
commit
dc557bdba8
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@
|
|||
},
|
||||
|
||||
getFirstFrameAsPNGData_ : function () {
|
||||
var tmpSheet = new pskl.model.FrameSheet(frameSheet.getWidth(), frameSheet.getHeight());
|
||||
var tmpSheet = new pskl.model.FrameSheet(frameSheet.getHeight(), frameSheet.getWidth());
|
||||
tmpSheet.addFrame(frameSheet.getFrameByIndex(0));
|
||||
return (new pskl.rendering.SpritesheetRenderer(tmpSheet)).renderAsImageDataSpritesheetPNG();
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue