Skip to content

Commit

Permalink
Merge pull request #10 from edemaine/classes
Browse files Browse the repository at this point in the history
Fix file_classes vs. frame_classes
  • Loading branch information
edemaine authored Jul 23, 2019
2 parents 7635e28 + ef4f243 commit 2bdf389
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/saveFOLD.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ function saveFOLD(){
file_spec: 1,
file_creator: "Origami Simulator: http://git.amandaghassaei.com/OrigamiSimulator/",
file_author: $("#foldAuthor").val(),
file_classes: ["singleModel"],
frame_title: filename,
frame_classes: ["singleModel"],
frame_classes: ["foldedForm"],
frame_attributes: ["3D"],
frame_unit: globals.foldUnits,
vertices_coords: [],
Expand Down Expand Up @@ -56,4 +57,4 @@ function saveFOLD(){

var blob = new Blob([JSON.stringify(json, null, 4)], {type: 'application/octet-binary'});
saveAs(blob, filename + ".fold");
}
}

0 comments on commit 2bdf389

Please sign in to comment.