x3d-image 3.0.3 → 3.0.5
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 +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x3d-image",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5",
|
|
4
4
|
"description": "Render image files from X3D",
|
|
5
5
|
"main": "src/main.js",
|
|
6
6
|
"bin": {
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"colors": "^1.4.0",
|
|
59
|
-
"electron": "^40.
|
|
60
|
-
"x_ite": "^14.0.
|
|
59
|
+
"electron": "^40.6.0",
|
|
60
|
+
"x_ite": "^14.0.4",
|
|
61
61
|
"yargs": "^18.0.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
package/src/image.js
CHANGED
|
@@ -357,7 +357,7 @@ function mimeTypeFromPath (filename)
|
|
|
357
357
|
|
|
358
358
|
async function addTransform (browser, scene, rotation)
|
|
359
359
|
{
|
|
360
|
-
scene .
|
|
360
|
+
scene .updateComponent (browser .getComponent ("Grouping"));
|
|
361
361
|
|
|
362
362
|
await browser .loadComponents (scene);
|
|
363
363
|
|
|
@@ -380,7 +380,7 @@ async function addBackground (browser, scene, color)
|
|
|
380
380
|
{
|
|
381
381
|
if (!background)
|
|
382
382
|
{
|
|
383
|
-
scene .
|
|
383
|
+
scene .updateComponent (browser .getComponent ("EnvironmentalEffects"));
|
|
384
384
|
|
|
385
385
|
await browser .loadComponents (scene);
|
|
386
386
|
|
|
@@ -413,7 +413,7 @@ async function addEnvironmentLight (browser, scene, name)
|
|
|
413
413
|
{
|
|
414
414
|
if (!environmentLight)
|
|
415
415
|
{
|
|
416
|
-
scene .
|
|
416
|
+
scene .updateComponent (browser .getComponent ("CubeMapTexturing"));
|
|
417
417
|
|
|
418
418
|
await browser .loadComponents (scene);
|
|
419
419
|
|