sunrize 1.11.6 → 1.11.7

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.11.6",
4
+ "version": "1.11.7",
5
5
  "description": "A Multi-Platform X3D Editor",
6
6
  "main": "src/main.js",
7
7
  "bin": {
@@ -88,10 +88,10 @@
88
88
  "shell-tools": "^1.1.9"
89
89
  },
90
90
  "dependencies": {
91
- "@vscode/codicons": "^0.0.41",
91
+ "@vscode/codicons": "^0.0.42",
92
92
  "capitalize": "^2.0.4",
93
93
  "console": "^0.7.2",
94
- "electron": "^39.1.1",
94
+ "electron": "^39.1.2",
95
95
  "electron-prompt": "^1.7.0",
96
96
  "electron-squirrel-startup": "^1.0.1",
97
97
  "electron-tabs": "^1.0.4",
@@ -100,7 +100,7 @@
100
100
  "jquery-ui-dist": "^1.13.3",
101
101
  "jstree": "^3.3.17",
102
102
  "material-icons": "^1.13.14",
103
- "material-symbols": "^0.39.1",
103
+ "material-symbols": "^0.39.2",
104
104
  "md5": "^2.3.0",
105
105
  "mime-types": "^3.0.1",
106
106
  "monaco-editor": "^0.54.0",
@@ -110,7 +110,7 @@
110
110
  "string-similarity": "^4.0.4",
111
111
  "tweakpane": "^3.1.10",
112
112
  "update-electron-app": "^3.1.1",
113
- "x_ite": "^12.1.6",
113
+ "x_ite": "^12.1.7",
114
114
  "x3d-traverse": "^1.0.22"
115
115
  }
116
116
  }
@@ -1054,7 +1054,7 @@ module .exports = class OutlineEditor extends OutlineRouteGraph
1054
1054
 
1055
1055
  this .deselectAll ();
1056
1056
 
1057
- for (const node of nodes)
1057
+ for (const node of nodes .filter (node => node))
1058
1058
  {
1059
1059
  this .expandTo (node);
1060
1060
  this .selectNodeElement ($(`.node[node-id="${node .getId ()}"]`), { add: true });
@@ -220,6 +220,9 @@ class X3DNodeTool extends X3DBaseTool
220
220
 
221
221
  for (const tool of this .#tools)
222
222
  {
223
+ if (!this [tool])
224
+ continue;
225
+
223
226
  for (const node of Traverse .traverse (this [tool], Traverse .ROOT_NODES | Traverse .INLINE_SCENE | Traverse .PROTOTYPE_INSTANCES))
224
227
  {
225
228
  nodesToDispose .push (node instanceof X3D .SFNode ? node .getValue () : node);