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 +5 -5
- package/src/Components/Grouping/StaticGroup.js +8 -1
- package/src/Editors/OutlineView.js +6 -3
- package/src/Tools/EnvironmentalSensor/X3DEnvironmentalSensorNodeTool.js +5 -0
- package/src/Tools/Lighting/X3DLightNodeTool.js +5 -0
- package/src/Tools/Navigation/X3DViewpointNodeTool.js +5 -0
- package/src/Tools/Sound/ListenerPointSourceTool.js +5 -0
- package/src/Tools/Sound/SoundTool.js +5 -0
- package/src/Tools/Sound/SpatialSoundTool.js +5 -0
- package/src/Tools/TextureProjection/X3DTextureProjectorNodeTool.js +5 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sunrize",
|
|
3
3
|
"productName": "Sunrize X3D Editor",
|
|
4
|
-
"version": "1.7.
|
|
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.
|
|
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.
|
|
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.
|
|
113
|
-
"x3d-traverse": "^1.0.
|
|
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
|
-
|
|
278
|
-
|
|
279
|
-
.
|
|
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")
|
|
@@ -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);
|
|
@@ -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);
|