x3d-image 3.0.26 → 3.0.27
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/package.json +3 -3
- package/src/image.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x3d-image",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.27",
|
|
4
4
|
"description": "Render Image Files from X3D",
|
|
5
5
|
"main": "src/main.js",
|
|
6
6
|
"bin": {
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"colors": "^1.4.0",
|
|
61
|
-
"electron": "43.0.0
|
|
62
|
-
"x_ite": "^15.1.
|
|
61
|
+
"electron": "^43.0.0",
|
|
62
|
+
"x_ite": "^15.1.9",
|
|
63
63
|
"x_ite-off-parser": "^1.2.4",
|
|
64
64
|
"x_ite-sog-parser": "^2.0.0",
|
|
65
65
|
"x_ite-spz-parser": "^2.0.0",
|
package/src/image.js
CHANGED
|
@@ -17,7 +17,7 @@ require ("x_ite-off-parser");
|
|
|
17
17
|
|
|
18
18
|
// Redirect console messages.
|
|
19
19
|
|
|
20
|
-
process .exit = (code = 0) => { throw code };
|
|
20
|
+
process .exit = (code = 0) => { throw code; };
|
|
21
21
|
console .log = (... messages) => electron .ipcRenderer .send ("log", messages);
|
|
22
22
|
console .warn = (... messages) => electron .ipcRenderer .send ("warn", messages);
|
|
23
23
|
console .error = (... messages) => electron .ipcRenderer .send ("error", messages);
|
|
@@ -424,7 +424,7 @@ async function addEnvironmentLight (browser, scene, name)
|
|
|
424
424
|
|
|
425
425
|
environmentLight = scene .createNode ("EnvironmentLight");
|
|
426
426
|
|
|
427
|
-
const specularTexture = scene .createNode ("ImageCubeMapTexture")
|
|
427
|
+
const specularTexture = scene .createNode ("ImageCubeMapTexture");
|
|
428
428
|
|
|
429
429
|
environmentLight .global = true;
|
|
430
430
|
environmentLight .intensity = 1;
|