sunrize 1.7.31 → 1.7.33

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.31",
4
+ "version": "1.7.33",
5
5
  "description": "A Multi-Platform X3D Editor",
6
6
  "main": "src/main.js",
7
7
  "bin": {
@@ -109,7 +109,7 @@
109
109
  "string-similarity": "^4.0.4",
110
110
  "tweakpane": "^3.1.10",
111
111
  "update-electron-app": "^3.0.0",
112
- "x_ite": "^10.5.11",
113
- "x3d-traverse": "^1.0.2"
112
+ "x_ite": "^10.5.14",
113
+ "x3d-traverse": "^1.0.5"
114
114
  }
115
115
  }
@@ -2813,11 +2813,13 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
2813
2813
  {
2814
2814
  const modelMatrix = new X3D .Matrix4 ();
2815
2815
 
2816
- for (const object of hierarchy .reverse ())
2816
+ for (let object of hierarchy .reverse ())
2817
2817
  {
2818
- if (!(object instanceof X3D .X3DNode))
2818
+ if (!(object instanceof X3D .SFNode))
2819
2819
  continue;
2820
2820
 
2821
+ object = object .getValue ();
2822
+
2821
2823
  if (object .getType () .includes (X3D .X3DConstants .X3DLayerNode))
2822
2824
  {
2823
2825
  if (object !== layerNode)
@@ -1078,8 +1078,8 @@ body.dark .ui-widget .library-list .component {
1078
1078
  color: var(--system-red);
1079
1079
  }
1080
1080
 
1081
+ /* make drag & drop work */
1081
1082
  .scene-graph .last {
1082
- /* make drag & drop work */
1083
1083
  height: 2px;
1084
1084
  }
1085
1085