sunrize 1.7.52 → 1.7.53

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.52",
4
+ "version": "1.7.53",
5
5
  "description": "A Multi-Platform X3D Editor",
6
6
  "main": "src/main.js",
7
7
  "bin": {
@@ -90,7 +90,7 @@
90
90
  "dependencies": {
91
91
  "capitalize": "^2.0.4",
92
92
  "console": "^0.7.2",
93
- "electron": "^34.2.0",
93
+ "electron": "^34.3.0",
94
94
  "electron-prompt": "^1.7.0",
95
95
  "electron-squirrel-startup": "^1.0.1",
96
96
  "electron-tabs": "^1.0.4",
@@ -109,7 +109,7 @@
109
109
  "string-similarity": "^4.0.4",
110
110
  "tweakpane": "^3.1.10",
111
111
  "update-electron-app": "^3.1.1",
112
- "x_ite": "^11.2.2",
112
+ "x_ite": "^11.2.3",
113
113
  "x3d-traverse": "^1.0.9"
114
114
  }
115
115
  }
@@ -2932,6 +2932,10 @@ module .exports = class OutlineView extends Interface
2932
2932
  child = $(e),
2933
2933
  node = this .getNode (child);
2934
2934
 
2935
+ // In case imported node is not yet loaded.
2936
+ if (!node)
2937
+ return;
2938
+
2935
2939
  // If node is somewhere else, don't disconnect.
2936
2940
  if (Array .from (this .sceneGraph .find (`.node[node-id="${node .getId ()}"],
2937
2941
  .imported-node[node-id="${node .getId ()}"],
@@ -360,6 +360,23 @@ DEF Sphere Transform {
360
360
  geometry Sphere { }
361
361
  }
362
362
  }
363
+ `
364
+ },
365
+ {
366
+ componentInfo: { name: "Layout" },
367
+ typeName: "ScreenText",
368
+ x3dSyntax: `
369
+ DEF ScreenText Transform {
370
+ children Shape {
371
+ appearance Appearance {
372
+ material Material { }
373
+ }
374
+ geometry Text {
375
+ string "3D Text"
376
+ fontStyle ScreenFontStyle { }
377
+ }
378
+ }
379
+ }
363
380
  `
364
381
  },
365
382
  {