sunrize 2.5.1 → 2.6.1

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": "2.5.1",
4
+ "version": "2.6.1",
5
5
  "description": "Sunrize — A Multi-Platform X3D Editor",
6
6
  "main": "src/main.js",
7
7
  "bin": {
@@ -92,7 +92,8 @@
92
92
  "@electron-forge/maker-zip": "^8.0.1",
93
93
  "@electron-forge/publisher-github": "^8.0.1",
94
94
  "@eslint/js": "^10.0.1",
95
- "eslint": "^10.12.0",
95
+ "@reforged/maker-appimage": "^6.0.0",
96
+ "eslint": "^10.13.0",
96
97
  "globals": "^17.13.0",
97
98
  "shell-tools": "^1.1.9"
98
99
  },
@@ -100,7 +101,7 @@
100
101
  "@vscode/codicons": "^0.0.45",
101
102
  "capitalize": "^2.0.4",
102
103
  "console": "^0.7.2",
103
- "electron": "^44.7.0",
104
+ "electron": "^45.0.0",
104
105
  "electron-prompt": "^1.7.0",
105
106
  "electron-squirrel-startup": "^1.0.1",
106
107
  "electron-tabs": "^1.0.4",
@@ -108,7 +109,7 @@
108
109
  "jquery": "^3.7.1",
109
110
  "jquery-ui-dist": "^1.13.3",
110
111
  "jstree": "^3.3.17",
111
- "material-symbols": "^0.48.0",
112
+ "material-symbols": "^0.48.1",
112
113
  "md5": "^2.3.0",
113
114
  "mime-types": "^3.0.2",
114
115
  "monaco-editor": "^0.55.1",
@@ -118,11 +119,11 @@
118
119
  "string-similarity": "^4.0.4",
119
120
  "tweakpane": "^4.0.5",
120
121
  "update-electron-app": "^3.3.0",
121
- "x_ite": "^16.5.1",
122
- "x_ite-off-parser": "^1.3.0",
123
- "x_ite-sog-parser": "^2.1.0",
124
- "x_ite-spz-parser": "^2.1.0",
125
- "x3d-traverse": "^3.0.2"
122
+ "x_ite": "^16.6.0",
123
+ "x_ite-off-parser": "^1.3.1",
124
+ "x_ite-sog-parser": "^2.1.1",
125
+ "x_ite-spz-parser": "^2.1.2",
126
+ "x3d-traverse": "^3.0.3"
126
127
  },
127
128
  "allowScripts": {
128
129
  "electron-winstaller@5.4.4": true,
@@ -503,14 +503,12 @@ class X3DNodeTool extends X3DBaseTool
503
503
  if (this .nodePush)
504
504
  this .node .push (renderObject);
505
505
 
506
- renderObject .getHAnimNode () .push (null);
507
- renderObject .getSensors () .push (X3DNodeTool .#sensors);
506
+ renderObject .getSensors () .push (X3DNodeTool .#sensors);
508
507
 
509
508
  for (const innerNode of this .#innerNodes)
510
509
  innerNode ?.traverse (type, renderObject);
511
510
 
512
- renderObject .getSensors () .pop ();
513
- renderObject .getHAnimNode () .pop ();
511
+ renderObject .getSensors () .pop ();
514
512
 
515
513
  if (this .nodePush)
516
514
  this .node .pop (renderObject);
@@ -25,7 +25,7 @@ class GeoLODTool extends X3DBoundedObjectTool
25
25
 
26
26
  super .reshapeTool ();
27
27
 
28
- const center = this .node .getCoord (this .node ._center, GeoLODTool .#center);
28
+ const center = this .node .getLocalCoord (this .node ._center, GeoLODTool .#center);
29
29
 
30
30
  if (!this .tool .center .getValue () .equals (center))
31
31
  this .tool .center = center;
@@ -3581,7 +3581,7 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
3581
3581
  case X3D .X3DConstants .GeoCoordinate:
3582
3582
  {
3583
3583
  const point = node ._point
3584
- .map (p => node .getCoord (p .getValue (), new X3D .Vector3 ()))
3584
+ .map (p => node .getLocalCoord (p .getValue (), new X3D .Vector3 ()))
3585
3585
  .map (p => this .roundToIntegerIfAlmostEqual (modelMatrix .multVecMatrix (p .getValue () .copy ())))
3586
3586
  .map (p => node .getGeoCoord (p .getValue (), new X3D .Vector3 ()));
3587
3587
 
@@ -364,6 +364,16 @@ tr.disabled ~ tr > td > div {
364
364
  background-color: var(--accent-color);
365
365
  }
366
366
 
367
+ /* Node Name */
368
+
369
+ input.node-name {
370
+ width: 100%;
371
+ height: var(--input-height);
372
+ border: none;
373
+ padding: 0px 5px;
374
+ background: none;
375
+ }
376
+
367
377
  /* Toolbar */
368
378
 
369
379
  .toolbar {
@@ -1041,6 +1051,13 @@ body.dark .ui-widget .library-list .component {
1041
1051
 
1042
1052
  /* Footer */
1043
1053
 
1054
+ @media (prefers-color-scheme: light) {
1055
+ #footer {
1056
+ --tint-color1: rgba(255, 255, 255, 0.5);
1057
+ --tint-color2: white;
1058
+ }
1059
+ }
1060
+
1044
1061
  #footer {
1045
1062
  overflow: hidden;
1046
1063
  position: absolute;
@@ -1411,11 +1428,6 @@ body.light .console-output .selected {
1411
1428
  position: absolute;
1412
1429
  bottom: 0px;
1413
1430
  border-bottom: 1px solid var(--border-color);
1414
- width: 100%;
1415
- height: var(--input-height);
1416
- border: none;
1417
- padding: 0px 5px;
1418
- background: none;
1419
1431
  }
1420
1432
 
1421
1433
  .script-editor .script-editor-monaco {
@@ -1507,11 +1519,6 @@ body.light .console-output .selected {
1507
1519
  .animation-editor .node-name {
1508
1520
  position: absolute;
1509
1521
  bottom: 0px;
1510
- width: 100%;
1511
- height: var(--input-height);
1512
- border: none;
1513
- padding: 0px 5px;
1514
- background: none;
1515
1522
  }
1516
1523
 
1517
1524
  .animation-editor .tracks {
@@ -45,8 +45,8 @@
45
45
 
46
46
  --secondary-toolbar-color: hsl(214, 35%, 90%);
47
47
  --sidebar-background-color: hsl(211, 46%, 86%);
48
- --tint-color1: rgba(255, 255, 255, 0.5);
49
- --tint-color2: white;
48
+ --tint-color1: rgba(255, 255, 255, 0.4);
49
+ --tint-color2: rgba(255, 255, 255, 0.6);
50
50
 
51
51
  --tabs-background-color: white;
52
52
  --tabs-text-color: var(--text-color);