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.module.js
CHANGED
|
@@ -16192,7 +16192,7 @@ class SetHtml {
|
|
|
16192
16192
|
let matchedStrState = "Start of state file======\n";
|
|
16193
16193
|
let posState = imageStr.indexOf(matchedStrState);
|
|
16194
16194
|
if(pos == -1 && posState == -1) {
|
|
16195
|
-
alert('Please load a PNG image saved by clicking "Save
|
|
16195
|
+
alert('Please load a PNG image saved by clicking the menu "File > Save File > iCn3D PNG Image"...');
|
|
16196
16196
|
}
|
|
16197
16197
|
else if(pos != -1) {
|
|
16198
16198
|
let url = imageStr.substr(pos + matchedStr.length);
|
|
@@ -67216,7 +67216,7 @@ class SaveFile {
|
|
|
67216
67216
|
if(me.utilsCls.isIE()) {
|
|
67217
67217
|
blob = ic.renderer.domElement.msToBlob();
|
|
67218
67218
|
|
|
67219
|
-
if(bAddURL
|
|
67219
|
+
if(bAddURL) {
|
|
67220
67220
|
let reader = new FileReader();
|
|
67221
67221
|
reader.onload = function(e) {
|
|
67222
67222
|
let arrayBuffer = e.target.result; // or = reader.result;
|
|
@@ -67242,7 +67242,7 @@ class SaveFile {
|
|
|
67242
67242
|
}
|
|
67243
67243
|
else {
|
|
67244
67244
|
ic.renderer.domElement.toBlob(function(data) {
|
|
67245
|
-
if(bAddURL
|
|
67245
|
+
if(bAddURL) {
|
|
67246
67246
|
let reader = new FileReader();
|
|
67247
67247
|
reader.onload = function(e) {
|
|
67248
67248
|
let arrayBuffer = e.target.result; // or = reader.result;
|