sunrize 1.7.39 → 1.7.40

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sunrize",
3
3
  "productName": "Sunrize X3D Editor",
4
- "version": "1.7.39",
4
+ "version": "1.7.40",
5
5
  "description": "A Multi-Platform X3D Editor",
6
6
  "main": "src/main.js",
7
7
  "bin": {
@@ -493,7 +493,7 @@ module .exports = class OutlineView extends Interface
493
493
  const nodes = Array .from (scene .rootNodes);
494
494
 
495
495
  this .browser .nextFrame ()
496
- .then (() => nodes .forEach (n => n .setNodeUserData (_changing, false)));
496
+ .then (() => nodes .forEach (node => node ?.setNodeUserData (_changing, false)));
497
497
 
498
498
  return;
499
499
  }
@@ -1963,7 +1963,7 @@ module .exports = class OutlineView extends Interface
1963
1963
  const nodes = Array .from (field);
1964
1964
 
1965
1965
  this .browser .nextFrame ()
1966
- .then (() => nodes .forEach (n => n .setNodeUserData (_changing, false)));
1966
+ .then (() => nodes .forEach (node => node ?.setNodeUserData (_changing, false)));
1967
1967
 
1968
1968
  return;
1969
1969
  }