Skip to content

Commit

Permalink
Fix version compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
j3soon committed Jul 20, 2018
1 parent a218037 commit 6b9e61e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions simulator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4671,7 +4671,11 @@ var canvasPainter = {
//為比此版本新的檔案版本
return;
}

//TODO: Create new version.
if (!jsonData.scale)
{
jsonData.scale = 1;
}

objs = jsonData.objs;
rayDensity_light = jsonData.rayDensity_light;
Expand Down Expand Up @@ -4744,7 +4748,6 @@ var canvasPainter = {
else if (t == "Ideal Lens")
AddingObjType = "lens";
}
console.log(AddingObjType);
}

function toolbtnwithlist_mouseentered(tool, e)
Expand Down Expand Up @@ -4955,7 +4958,6 @@ var canvasPainter = {
//} else {
return locales[lang][msg].message;
//}

}

function init_i18n() {
Expand Down
2 changes: 1 addition & 1 deletion simulator/manifest.appcache
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CACHE MANIFEST
# 2018-07-20-1
# 2018-07-20-2
index.html
index.js
FileSaver.js
Expand Down

0 comments on commit 6b9e61e

Please sign in to comment.