Skip to content

Commit

Permalink
Add editor/image name/version number to posted data
Browse files Browse the repository at this point in the history
  • Loading branch information
thenickdude committed Oct 24, 2017
1 parent d954dd8 commit c4329a1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions js/engine/CPResourceSaver.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,15 @@ export default function CPResourceSaver(options) {
formData = new FormData();

formData.append("beginMarker", marker);

formData.append("picture", flatBlob);

formData.append("painter", "ChickenPaint v1.0");

formData.append("picture", flatBlob);
flatBlob = null;

if (chibiBlob) {
formData.append("chibifile", chibiBlob);
formData.append("chibifileFormat", "ChickenPaint v0.0");
formData.append("chibifile", chibiBlob);
chibiBlob = null;

// Layers will need to be rotated upon opening
Expand Down

0 comments on commit c4329a1

Please sign in to comment.