sunrize 1.7.58 → 1.7.59

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.58",
4
+ "version": "1.7.59",
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": "^35.0.0",
93
+ "electron": "^35.0.1",
94
94
  "electron-prompt": "^1.7.0",
95
95
  "electron-squirrel-startup": "^1.0.1",
96
96
  "electron-tabs": "^1.0.4",
@@ -99,7 +99,7 @@
99
99
  "jquery-ui-dist": "^1.13.3",
100
100
  "jstree": "^3.3.17",
101
101
  "material-icons": "^1.13.14",
102
- "material-symbols": "^0.29.0",
102
+ "material-symbols": "^0.29.1",
103
103
  "md5": "^2.3.0",
104
104
  "mime-types": "^2.1.35",
105
105
  "monaco-editor": "^0.50.0",
@@ -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.3.1",
113
- "x3d-traverse": "^1.0.9"
112
+ "x_ite": "^11.3.2",
113
+ "x3d-traverse": "^1.0.10"
114
114
  }
115
115
  }
@@ -9,6 +9,8 @@ function StaticGroup (executionContext)
9
9
 
10
10
  this .addType (X3D .X3DConstants .StaticGroup);
11
11
 
12
+ // Private properties
13
+
12
14
  this .groupNode = new X3D .Group (this .getExecutionContext ());
13
15
  }
14
16
 
@@ -30,7 +32,7 @@ Object .assign (Object .setPrototypeOf (StaticGroup .prototype, X3D .X3DChildNod
30
32
  this .groupNode .setPrivate (true);
31
33
  this .groupNode .setup ();
32
34
 
33
- this .connectChildNode (this .groupNode);
35
+ this .connectChildNode (this .groupNode, [X3D .TraverseType .CAMERA]);
34
36
  },
35
37
  getBBox (bbox, shadows)
36
38
  {
@@ -52,22 +54,27 @@ Object .defineProperties (StaticGroup,
52
54
  typeName:
53
55
  {
54
56
  value: X3D .StaticGroup .typeName,
57
+ enumerable: true,
55
58
  },
56
59
  componentInfo:
57
60
  {
58
61
  value: X3D .StaticGroup .componentInfo,
62
+ enumerable: true,
59
63
  },
60
64
  containerField:
61
65
  {
62
66
  value: X3D .StaticGroup .containerField,
67
+ enumerable: true,
63
68
  },
64
69
  specificationRange:
65
70
  {
66
71
  value: X3D .StaticGroup .specificationRange,
72
+ enumerable: true,
67
73
  },
68
74
  fieldDefinitions:
69
75
  {
70
76
  value: X3D .StaticGroup .fieldDefinitions,
77
+ enumerable: true,
71
78
  },
72
79
  });
73
80
 
@@ -274,9 +274,12 @@ module .exports = class OutlineView extends Interface
274
274
  .attr ("draggable", "true")
275
275
  .on ("dragstart", this .onDragStartProto .bind (this));
276
276
 
277
- child .find (".node > .item")
278
- .attr ("draggable", "true")
279
- .on ("dragstart", this .onDragStartNode .bind (this));
277
+ if (this .getField (parent) ?.getAccessType () !== X3D .X3DConstants .outputOnly)
278
+ {
279
+ child .find (".node > .item")
280
+ .attr ("draggable", "true")
281
+ .on ("dragstart", this .onDragStartNode .bind (this));
282
+ }
280
283
  }
281
284
 
282
285
  child .find (".externproto .name, .externproto .icon, .proto .name, .proto .icon, .node .name, .node .icon")
@@ -25,6 +25,11 @@ class X3DEnvironmentalSensorNodeTool extends X3DChildNodeTool
25
25
  this .undoSaveInitialValues (["size", "center"]);
26
26
  }
27
27
 
28
+ isBoundedObject ()
29
+ {
30
+ return true;
31
+ }
32
+
28
33
  getBBox (bbox, shadows)
29
34
  {
30
35
  if (shadows)
@@ -17,6 +17,11 @@ class X3DLightNodeTool extends X3DChildNodeTool
17
17
  this .tool .getField ("isActive") .addInterest ("handleUndo", this);
18
18
  }
19
19
 
20
+ isBoundedObject ()
21
+ {
22
+ return true;
23
+ }
24
+
20
25
  getBBox (bbox, shadows)
21
26
  {
22
27
  return this .getToolBBox (bbox, shadows);
@@ -32,6 +32,11 @@ class X3DViewpointNodeTool extends X3DChildNodeTool
32
32
  this .undoSaveInitialValues (["position", "orientation"]);
33
33
  }
34
34
 
35
+ isBoundedObject ()
36
+ {
37
+ return true;
38
+ }
39
+
35
40
  getBBox (bbox, shadows)
36
41
  {
37
42
  return this .getToolBBox (bbox, shadows);
@@ -21,6 +21,11 @@ class ListenerPointSourceTool extends X3DChildNodeTool
21
21
  this .undoSaveInitialValues (["position", "orientation"]);
22
22
  }
23
23
 
24
+ isBoundedObject ()
25
+ {
26
+ return true;
27
+ }
28
+
24
29
  getBBox (bbox, shadows)
25
30
  {
26
31
  return this .getToolBBox (bbox, shadows);
@@ -66,6 +66,11 @@ class SoundTool extends X3DChildNodeTool
66
66
  }
67
67
  }
68
68
 
69
+ isBoundedObject ()
70
+ {
71
+ return true;
72
+ }
73
+
69
74
  getBBox (bbox, shadows)
70
75
  {
71
76
  return this .getToolBBox (bbox, shadows);
@@ -24,6 +24,11 @@ class SpatialSoundTool extends X3DChildNodeTool
24
24
  this .undoSaveInitialValues (["location", "direction"]);
25
25
  }
26
26
 
27
+ isBoundedObject ()
28
+ {
29
+ return true;
30
+ }
31
+
27
32
  getBBox (bbox, shadows)
28
33
  {
29
34
  return this .getToolBBox (bbox, shadows);
@@ -26,6 +26,11 @@ class X3DTextureProjectorNodeTool extends X3DChildNodeTool
26
26
  this .undoSaveInitialValues (["location", "direction", "upVector"]);
27
27
  }
28
28
 
29
+ isBoundedObject ()
30
+ {
31
+ return true;
32
+ }
33
+
29
34
  getBBox (bbox, shadows)
30
35
  {
31
36
  return this .getToolBBox (bbox, shadows);