icn3d 3.25.2 → 3.25.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/icn3d.js +3 -3
- package/icn3d.min.js +2 -2
- package/icn3d.module.js +3 -3
- package/package.json +1 -1
package/icn3d.js
CHANGED
|
@@ -15291,7 +15291,7 @@ class SetHtml {
|
|
|
15291
15291
|
let matchedStrState = "Start of state file======\n";
|
|
15292
15292
|
let posState = imageStr.indexOf(matchedStrState);
|
|
15293
15293
|
if(pos == -1 && posState == -1) {
|
|
15294
|
-
var aaa = 1; //alert('Please load a PNG image saved by clicking "Save
|
|
15294
|
+
var aaa = 1; //alert('Please load a PNG image saved by clicking the menu "File > Save File > iCn3D PNG Image"...');
|
|
15295
15295
|
}
|
|
15296
15296
|
else if(pos != -1) {
|
|
15297
15297
|
let url = imageStr.substr(pos + matchedStr.length);
|
|
@@ -66315,7 +66315,7 @@ class SaveFile {
|
|
|
66315
66315
|
if(me.utilsCls.isIE()) {
|
|
66316
66316
|
blob = ic.renderer.domElement.msToBlob();
|
|
66317
66317
|
|
|
66318
|
-
if(bAddURL
|
|
66318
|
+
if(bAddURL) {
|
|
66319
66319
|
let reader = new FileReader();
|
|
66320
66320
|
reader.onload = function(e) {
|
|
66321
66321
|
let arrayBuffer = e.target.result; // or = reader.result;
|
|
@@ -66341,7 +66341,7 @@ class SaveFile {
|
|
|
66341
66341
|
}
|
|
66342
66342
|
else {
|
|
66343
66343
|
ic.renderer.domElement.toBlob(function(data) {
|
|
66344
|
-
if(bAddURL
|
|
66344
|
+
if(bAddURL) {
|
|
66345
66345
|
let reader = new FileReader();
|
|
66346
66346
|
reader.onload = function(e) {
|
|
66347
66347
|
let arrayBuffer = e.target.result; // or = reader.result;
|