From ef4f243d197208028f4d56d50365df91364fb994 Mon Sep 17 00:00:00 2001 From: Erik Demaine Date: Wed, 5 Sep 2018 11:44:03 -0400 Subject: [PATCH] Fix file_classes vs. frame_classes --- js/saveFOLD.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/saveFOLD.js b/js/saveFOLD.js index 3203b57..95cd916 100755 --- a/js/saveFOLD.js +++ b/js/saveFOLD.js @@ -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: [], @@ -56,4 +57,4 @@ function saveFOLD(){ var blob = new Blob([JSON.stringify(json, null, 4)], {type: 'application/octet-binary'}); saveAs(blob, filename + ".fold"); -} \ No newline at end of file +}