sunrize 2.6.6 → 2.7.0

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.6.6",
4
+ "version": "2.7.0",
5
5
  "description": "Sunrize — A Multi-Platform X3D Editor",
6
6
  "main": "src/main.js",
7
7
  "bin": {
@@ -98,15 +98,15 @@
98
98
  "@electron-forge/publisher-github": "^8.0.1",
99
99
  "@eslint/js": "^10.0.1",
100
100
  "@reforged/maker-appimage": "^6.0.0",
101
- "eslint": "^10.14.0",
102
- "globals": "^17.13.0",
101
+ "eslint": "^10.15.0",
102
+ "globals": "^17.14.0",
103
103
  "shell-tools": "^1.1.9"
104
104
  },
105
105
  "dependencies": {
106
106
  "@vscode/codicons": "^0.0.45",
107
107
  "capitalize": "^2.0.4",
108
108
  "console": "^0.7.2",
109
- "electron": "^45.2.1",
109
+ "electron": "^45.3.2",
110
110
  "electron-prompt": "^1.7.0",
111
111
  "electron-squirrel-startup": "^1.0.1",
112
112
  "electron-tabs": "^1.0.4",
@@ -114,7 +114,7 @@
114
114
  "jquery": "^3.7.1",
115
115
  "jquery-ui-dist": "^1.13.3",
116
116
  "jstree": "^3.3.17",
117
- "material-symbols": "^0.48.2",
117
+ "material-symbols": "^0.49.0",
118
118
  "md5": "^2.3.0",
119
119
  "mime-types": "^3.0.2",
120
120
  "monaco-editor": "^0.55.1",
@@ -124,7 +124,7 @@
124
124
  "string-similarity": "^4.0.4",
125
125
  "tweakpane": "^4.0.5",
126
126
  "update-electron-app": "^3.3.0",
127
- "x_ite": "^16.7.0",
127
+ "x_ite": "^16.8.0",
128
128
  "x_ite-off-parser": "^1.4.0",
129
129
  "x_ite-sog-parser": "^2.2.0",
130
130
  "x_ite-spz-parser": "^2.2.0",
@@ -77,6 +77,7 @@ module .exports = class Application
77
77
  recentDocuments: [ ],
78
78
  recentLocations: [ ],
79
79
  size: [1100, 680],
80
+ zoomFactor: 1,
80
81
  });
81
82
 
82
83
  electron .nativeTheme .themeSource = this .config .themeSource;
@@ -645,6 +646,22 @@ module .exports = class Application
645
646
  },
646
647
  ],
647
648
  },
649
+ { type: "separator" },
650
+ {
651
+ label: _("Zoom In"),
652
+ accelerator: "CmdOrCtrl+Plus",
653
+ click: () => this .zoomIn (),
654
+ },
655
+ {
656
+ label: _("Zoom Out"),
657
+ accelerator: "CmdOrCtrl+-",
658
+ click: () => this .zoomOut (),
659
+ },
660
+ {
661
+ label: _("Reset Zoom"),
662
+ accelerator: "CmdOrCtrl+0",
663
+ click: () => this .resetZoom (),
664
+ },
648
665
  ],
649
666
  },
650
667
  {
@@ -825,7 +842,7 @@ module .exports = class Application
825
842
  },
826
843
  {
827
844
  label: _("Display Timings"),
828
- accelerator: "CmdOrCtrl+Plus",
845
+ accelerator: "Alt+CmdOrCtrl+Plus",
829
846
  type: "checkbox",
830
847
  checked: this .menuOptions .timings,
831
848
  click: () => this .mainWindow .webContents .send ("display-timings", !this .menuOptions .timings),
@@ -995,6 +1012,7 @@ module .exports = class Application
995
1012
  nodeIntegration: true,
996
1013
  contextIsolation: false,
997
1014
  webviewTag: true,
1015
+ zoomFactor: this .config .zoomFactor,
998
1016
  },
999
1017
  });
1000
1018
 
@@ -1009,6 +1027,8 @@ module .exports = class Application
1009
1027
  window .on ("leave-full-screen", () => this .onleavefullscreen ());
1010
1028
  window .on ("close", (event) => this .onclose (event));
1011
1029
 
1030
+ window .webContents .session .on ("will-download", (event, item) => this .willDownload (item));
1031
+
1012
1032
  if (this .config .fullscreen)
1013
1033
  window .setFullScreen (this .config .fullscreen);
1014
1034
  else if (this .config .maximized)
@@ -1019,6 +1039,27 @@ module .exports = class Application
1019
1039
  this .ready = true;
1020
1040
  }
1021
1041
 
1042
+ zoomIn ()
1043
+ {
1044
+ this .config .zoomFactor = Math .min (this .config .zoomFactor + 1/64, 5);
1045
+
1046
+ this .mainWindow .webContents .setZoomFactor (this .config .zoomFactor);
1047
+ }
1048
+
1049
+ zoomOut ()
1050
+ {
1051
+ this .config .zoomFactor = Math .max (this .config .zoomFactor - 1/64, 0.5);
1052
+
1053
+ this .mainWindow .webContents .setZoomFactor (this .config .zoomFactor);
1054
+ }
1055
+
1056
+ resetZoom ()
1057
+ {
1058
+ this .config .zoomFactor = 1;
1059
+
1060
+ this .mainWindow .webContents .setZoomFactor (this .config .zoomFactor);
1061
+ }
1062
+
1022
1063
  onactivate ()
1023
1064
  {
1024
1065
  if (electron .BrowserWindow .getAllWindows () .length)
@@ -1027,6 +1068,42 @@ module .exports = class Application
1027
1068
  this .createWindow ();
1028
1069
  }
1029
1070
 
1071
+ willDownload (item)
1072
+ {
1073
+ item .on ("updated", (event, state) =>
1074
+ {
1075
+ if (state === "interrupted")
1076
+ {
1077
+ this .mainWindow .webContents .send ("download-item", "interrupted", item .getSavePath ());
1078
+ }
1079
+ else if (state === "progressing")
1080
+ {
1081
+ if (item .isPaused ())
1082
+ {
1083
+ this .mainWindow .webContents .send ("download-item", "paused", item .getSavePath ());
1084
+ }
1085
+ else
1086
+ {
1087
+ const fractions = item .getReceivedBytes () / item .getTotalBytes ();
1088
+
1089
+ this .mainWindow .webContents .send ("download-item", "progress", item .getSavePath (), fractions);
1090
+ }
1091
+ }
1092
+ });
1093
+
1094
+ item .once ("done", (event, state) =>
1095
+ {
1096
+ if (state === "completed")
1097
+ {
1098
+ this .mainWindow .webContents .send ("download-item", "completed", item .getSavePath ());
1099
+ }
1100
+ else
1101
+ {
1102
+ this .mainWindow .webContents .send ("download-item", "failed", item .getSavePath ());
1103
+ }
1104
+ });
1105
+ }
1106
+
1030
1107
  contextMenu (id, menu, menuId)
1031
1108
  {
1032
1109
  const contextMenu = electron .Menu .buildFromTemplate (this .addMenuItemHandlers (id, this .filterSeparators (menu)));
@@ -0,0 +1,86 @@
1
+ const
2
+ $ = require ("jquery"),
3
+ util = require ("util"),
4
+ Package = require ("../../package.json"),
5
+ _ = require ("./GetText");
6
+
7
+ module .exports = class CheckReleases
8
+ {
9
+ static #instance;
10
+
11
+ static run (console)
12
+ {
13
+ return this .#instance ??= new CheckReleases (console);
14
+ }
15
+
16
+ #console;
17
+
18
+ constructor (console)
19
+ {
20
+ this .#console = console;
21
+
22
+ this .checkReleases ();
23
+ }
24
+
25
+ async checkReleases ()
26
+ {
27
+ try
28
+ {
29
+ const
30
+ response = await fetch ("https://api.github.com/repos/create3000/sunrize/releases/latest"),
31
+ latest = await response .json ();
32
+
33
+ if (latest .name === `v${Package .version}`)
34
+ return this .waitForRelease ();
35
+
36
+ let filename;
37
+
38
+ switch (process .platform)
39
+ {
40
+ case "win32":
41
+ filename = `Sunrize.X3D.Editor-${latest .name .substring (1)}.Setup.exe`;
42
+ break;
43
+ case "darwin":
44
+ filename = `Sunrize.X3D.Editor-darwin-arm64-${latest .name .substring (1)}.zip`;
45
+ break;
46
+ default:
47
+ filename = `Sunrize.X3D.Editor-${latest .name .substring (1)}-x64.AppImage`;
48
+ break;
49
+ }
50
+
51
+ const fileURL = `https://github.com/create3000/sunrize/releases/download/${latest .name}/${filename}`;
52
+
53
+ if (!await this .fileExists (fileURL))
54
+ return this .waitForRelease ();
55
+
56
+ this .#console .addSplitter ();
57
+ this .#console .addMessage ("info", "", 0, util .format (_(`A new Sunrize version %s is now available on GitHub.`), latest .name));
58
+ this .#console .addMessage ("info", "", 0, $(util .format (_(`<span>Download new version: <span><a download href="%s">%s</a>`), fileURL, filename)));
59
+ this .#console .addSplitter ();
60
+ }
61
+ catch (error)
62
+ {
63
+ if (process .env .SUNRISE_ENVIRONMENT === "DEVELOPMENT")
64
+ console .error (error);
65
+ }
66
+ }
67
+
68
+ waitForRelease ()
69
+ {
70
+ setTimeout (() => this .checkReleases (), 24 * 60 * 60 * 1_000);
71
+ }
72
+
73
+ async fileExists (url)
74
+ {
75
+ try
76
+ {
77
+ const response = await fetch (url, { method: "HEAD" });
78
+
79
+ return response .ok;
80
+ }
81
+ catch
82
+ {
83
+ return false;
84
+ }
85
+ }
86
+ };
@@ -269,7 +269,7 @@ module .exports = class Dashboard extends Interface
269
269
  viewpointNode = this .browser .getActiveViewpoint (),
270
270
  straighten = this .browser .getBrowserOption ("StraightenHorizon");
271
271
 
272
- const [, bbox] = Editor .getModelMatricesAndBBoxes (executionContext, layerNode, nodes);
272
+ const [, bbox] = Editor .getModelMatricesAndBBoxes (executionContext, layerNode, nodes, true);
273
273
 
274
274
  viewpointNode .lookAtBBox ({ layerNode, bbox, straighten });
275
275
  }
@@ -18,6 +18,8 @@ const
18
18
  ImageParser = require ("../Parser/ImageParser"),
19
19
  VideoParser = require ("../Parser/VideoParser"),
20
20
  AudioParser = require ("../Parser/AudioParser"),
21
+ CheckReleases = require ("./CheckReleases"),
22
+ Package = require ("../../package.json"),
21
23
  _ = require ("./GetText");
22
24
 
23
25
  require ("jquery-ui-dist/jquery-ui");
@@ -182,7 +184,6 @@ module .exports = class Document extends Interface
182
184
  this .browser .getBrowserOptions () .getField (option) .addInterest (`set_${option}`, this);
183
185
 
184
186
  this .browser .setBrowserOption ("AlwaysUpdateGeometries", true);
185
- this .browser .setBrowserOption ("MetadataReference", require ("../../package.json") .homepage);
186
187
 
187
188
  // Connect browser events.
188
189
 
@@ -215,13 +216,13 @@ module .exports = class Document extends Interface
215
216
 
216
217
  require ("../Components");
217
218
 
218
- // Restore
219
+ // Info
219
220
 
220
- const pkg = require ("../../package.json");
221
+ console .info (`Welcome to ${Package .productName} v${Package .version}.`);
221
222
 
222
- console .info (`Welcome to ${pkg .productName} v${pkg .version}.`);
223
+ CheckReleases .run (this .footer .console);
223
224
 
224
- this .checkReleases ();
225
+ // Restore
225
226
 
226
227
  await this .restoreFile ();
227
228
 
@@ -460,47 +461,6 @@ module .exports = class Document extends Interface
460
461
  }
461
462
  }
462
463
 
463
- async checkReleases ()
464
- {
465
- try
466
- {
467
- const
468
- response = await fetch ("https://api.github.com/repos/create3000/sunrize/releases/latest"),
469
- latest = await response .json (),
470
- pkg = require ("../../package.json");
471
-
472
- if (latest .name === `v${pkg .version}`)
473
- return setTimeout (() => this .checkReleases (), 24 * 60 * 60 * 1_000);
474
-
475
- let filename;
476
-
477
- switch (process .platform)
478
- {
479
- case "win32":
480
- filename = `Sunrize.X3D.Editor-${latest .name .substring (1)}.Setup.exe`;
481
- break;
482
- case "darwin":
483
- filename = `Sunrize.X3D.Editor-darwin-arm64-${latest .name .substring (1)}.zip`;
484
- break;
485
- default:
486
- filename = `Sunrize.X3D.Editor-${latest .name .substring (1)}-x64.AppImage`;
487
- break;
488
- }
489
-
490
- const fileURL = `https://github.com/create3000/sunrize/releases/download/${latest .name}/${filename}`;
491
-
492
- this .footer .console .addSplitter ();
493
- this .footer .console .addMessage ("info", "", 0, `A new Sunrize version ${latest .name} is now available on GitHub.`);
494
- this .footer .console .addMessage ("info", "", 0, `Download new version: <a download href="${fileURL}">${filename}</a>`, true);
495
- this .footer .console .addSplitter ();
496
- }
497
- catch (error)
498
- {
499
- if (process .env .SUNRISE_ENVIRONMENT === "DEVELOPMENT")
500
- console .error (error);
501
- }
502
- }
503
-
504
464
  /*
505
465
  * File Menu
506
466
  */
@@ -584,11 +544,9 @@ module .exports = class Document extends Interface
584
544
 
585
545
  if (this .config .file .commonMetaData ?? true)
586
546
  {
587
- const
588
- pkg = require ("../../package.json"),
589
- generator = scene .getMetaData ("generator") ?.filter (value => !value .startsWith (pkg .productName)) ?? [ ];
547
+ const generator = scene .getMetaData ("generator") ?.filter (value => !value .startsWith (Package .productName)) ?? [ ];
590
548
 
591
- generator .unshift (`${pkg .productName} V${pkg .version}, ${pkg .homepage}`);
549
+ generator .unshift (`${Package .productName} V${Package .version}, ${Package .homepage}`);
592
550
 
593
551
  if (!scene .getMetaData ("creator") ?.some (value => value .includes (this .fullname)))
594
552
  scene .addMetaData ("creator", this .fullname);
@@ -1232,7 +1190,7 @@ module .exports = class Document extends Interface
1232
1190
 
1233
1191
  this .#pointer .assign (this .browser .getPointerFromEvent (event));
1234
1192
 
1235
- if (this .browser .touch (... this .#pointer))
1193
+ if (this .browser .touch (X3D .PointingType .TOUCH, ... this .#pointer))
1236
1194
  {
1237
1195
  if (this .browser .getHit () .sensors .size)
1238
1196
  return;
@@ -1314,7 +1272,7 @@ module .exports = class Document extends Interface
1314
1272
 
1315
1273
  const outlineEditor = this .sidebar .outlineEditor;
1316
1274
 
1317
- if (!this .browser .touch (... pointer))
1275
+ if (!this .browser .touch (X3D .PointingType .TOUCH, ... pointer))
1318
1276
  {
1319
1277
  outlineEditor .deselectAll ();
1320
1278
  return;
@@ -1323,44 +1281,27 @@ module .exports = class Document extends Interface
1323
1281
  // Select.
1324
1282
 
1325
1283
  const
1326
- shapeNode = this .browser .getHit () .shapeNode,
1327
- geometryTool = shapeNode .getGeometry () ?.getTool (),
1328
- tool = geometryTool ?? shapeNode .getExecutionContext () .getOuterNode () ?.getTool (),
1329
- node = tool ?? shapeNode .getExecutionContext () .getOuterNode () ?? shapeNode;
1284
+ hit = this .browser .getHit (),
1285
+ parentNode = hit .parentNode,
1286
+ tool = parentNode .getExecutionContext () .getOuterNode () ?.getTool () ?.valueOf (),
1287
+ parent = tool ?? parentNode .getExecutionContext () .getOuterNode () ?? parentNode,
1288
+ node = parent .isPrivate () ? hit .shapeNode : parent;
1330
1289
 
1331
- outlineEditor .expandTo (node, { expandObject: true, expandInlineNodes: true, expandAll: true });
1290
+ outlineEditor .expandTo (node, { expandObject: true, expandInlineNodes: true, expandAll: false });
1332
1291
 
1333
1292
  let elements = outlineEditor .sceneGraph .find (`.node[node-id=${node .getId ()}]`);
1334
1293
 
1335
1294
  if (!elements .length)
1336
1295
  return;
1337
1296
 
1338
- if (outlineEditor .isEditable (elements))
1339
- {
1340
- if (tool)
1341
- {
1342
- elements = Array .from (elements);
1343
- }
1344
- else
1345
- {
1346
- const parentElements = Array .from (elements) .flatMap (element =>
1347
- {
1348
- const parentElements = Array .from ($(element) .parent () .closest (".node", outlineEditor .sceneGraph));
1349
-
1350
- return parentElements .length ? parentElements : element;
1351
- });
1352
-
1353
- elements = parentElements .map ((element, i) => outlineEditor .getNode ($(element)) .getType () .includes (X3D .X3DConstants .X3DGroupingNode) ? parentElements [i] : elements [i]);
1354
- }
1355
- }
1356
- else
1297
+ if (!outlineEditor .isEditable (elements))
1357
1298
  {
1358
1299
  while (!outlineEditor .isEditable (elements))
1359
1300
  elements = elements .parent () .closest (".node, .scene", outlineEditor .sceneGraph);
1360
-
1361
- elements = Array .from (elements);
1362
1301
  }
1363
1302
 
1303
+ elements = Array .from (elements);
1304
+
1364
1305
  for (const [i, element] of elements .entries ())
1365
1306
  outlineEditor .selectNodeElement ($(element), { add: (event .shiftKey || event .metaKey) || i > 0, target: true });
1366
1307
 
@@ -1401,7 +1342,7 @@ module .exports = class Document extends Interface
1401
1342
  executionContext = this .browser .currentScene,
1402
1343
  layerNode = this .browser .getActiveLayer (),
1403
1344
  nodes = selection .nodes,
1404
- [, bbox] = Editor .getModelMatricesAndBBoxes (executionContext, layerNode, nodes);
1345
+ [, bbox] = Editor .getModelMatricesAndBBoxes (executionContext, layerNode, nodes, true);
1405
1346
 
1406
1347
  if (!bbox .size .norm ())
1407
1348
  return;
@@ -39,6 +39,8 @@ class Tabs
39
39
  ["SVG", "../images/seti/svg.svg"],
40
40
  ]);
41
41
 
42
+ scrollOptions = { behavior: "instant", inline: "center" };
43
+
42
44
  constructor ()
43
45
  {
44
46
  this .config .setDefaultValues ({
@@ -143,6 +145,7 @@ class Tabs
143
145
  this .forwardToActiveTab ("route-graph");
144
146
  this .forwardToActiveTab ("outline-editor");
145
147
  this .forwardToActiveTab ("context-menu-will-close");
148
+ this .forwardToActiveTab ("download-item");
146
149
 
147
150
  // Restore tabs.
148
151
  this .restoreTabs (this .config .activeTab);
@@ -174,6 +177,7 @@ class Tabs
174
177
  const tab = this .getTabByURL (activeTab) ?? this .tabs .getTabByPosition (0);
175
178
 
176
179
  tab .activate ();
180
+ tab .element .scrollIntoView (this .scrollOptions);
177
181
  }
178
182
  else
179
183
  {
@@ -328,6 +332,7 @@ class Tabs
328
332
  ?? this .tabs .getTabByPosition (this .tabs .getTabs () .length - 1);
329
333
 
330
334
  tab .activate ();
335
+ tab .element .scrollIntoView (this .scrollOptions);
331
336
  }
332
337
 
333
338
  this .saveTabs ();
@@ -10,6 +10,7 @@ const
10
10
  NodeList = require ("./NodeList"),
11
11
  MemberList = require ("./AnimationMemberList"),
12
12
  Editor = require ("../Undo/Editor"),
13
+ Package = require ("../../package.json"),
13
14
  _ = require ("../Application/GetText");
14
15
 
15
16
  require ("../Bits/Validate");
@@ -150,6 +151,15 @@ module .exports = class AnimationEditor extends Interface
150
151
  .appendTo (this .controls)
151
152
  .on ("click", () => this .toggleLoop ());
152
153
 
154
+ this .reverseIcon = $("<span></span>")
155
+ .addClass ("material-symbols-outlined")
156
+ .css ("translate", "0 -1px")
157
+ .css ("scale", "0.7 -0.7")
158
+ .attr ("title", _("Reverse animation."))
159
+ .text ("keyboard_return")
160
+ .appendTo (this .controls)
161
+ .on ("click", () => this .toggleReverse ());
162
+
153
163
  this .frameInput = $("<input></input>")
154
164
  .addClass ("input")
155
165
  .css ("width", "70px")
@@ -334,6 +344,7 @@ module .exports = class AnimationEditor extends Interface
334
344
  if (this .timeSensor)
335
345
  {
336
346
  this .timeSensor ._loop .removeInterest ("set_loop", this);
347
+ this .timeSensor ._reverse .removeInterest ("set_reverse", this);
337
348
  this .timeSensor ._isActive .removeInterest ("set_active", this);
338
349
  this .timeSensor ._fraction_changed .removeInterest ("set_fraction", this);
339
350
 
@@ -373,6 +384,7 @@ module .exports = class AnimationEditor extends Interface
373
384
  .find (node => node .getValue () .getType () .includes (X3D .X3DConstants .TimeSensor)) .getValue ();
374
385
 
375
386
  this .timeSensor ._loop .addInterest ("set_loop", this);
387
+ this .timeSensor ._reverse .addInterest ("set_reverse", this);
376
388
  this .timeSensor ._isActive .addInterest ("set_active", this);
377
389
  this .timeSensor ._fraction_changed .addInterest ("set_fraction", this);
378
390
 
@@ -380,6 +392,7 @@ module .exports = class AnimationEditor extends Interface
380
392
  this .timeSensor ._range = [0, 0, 1];
381
393
 
382
394
  this .set_loop (this .timeSensor ._loop);
395
+ this .set_reverse (this .timeSensor ._reverse);
383
396
  this .set_active (this .timeSensor ._isActive);
384
397
 
385
398
  // Show Member List
@@ -447,6 +460,7 @@ module .exports = class AnimationEditor extends Interface
447
460
  this .toggleAnimationIcon,
448
461
  this .lastFrameIcon,
449
462
  this .loopIcon,
463
+ this .reverseIcon,
450
464
  this .frameInput,
451
465
  this .propertiesIcon,
452
466
  this .keyTypeElement,
@@ -521,8 +535,8 @@ module .exports = class AnimationEditor extends Interface
521
535
  executionContext .addNamedNode (executionContext .getUniqueName ("NewAnimation"), animation);
522
536
  executionContext .addNamedNode (executionContext .getUniqueName ("NewAnimationTimer"), timeSensor);
523
537
 
524
- animation .setMetaData ("Animation/duration", new X3D .SFInt32 (10));
525
- animation .setMetaData ("Animation/frameRate", new X3D .SFInt32 (10));
538
+ animation .setMetaData ("Animation/duration", Package .homepage, new X3D .SFInt32 (10));
539
+ animation .setMetaData ("Animation/frameRate", Package .homepage, new X3D .SFInt32 (10));
526
540
 
527
541
  if (group)
528
542
  {
@@ -1923,13 +1937,16 @@ module .exports = class AnimationEditor extends Interface
1923
1937
  {
1924
1938
  require ("../Application/Window") .requestAutoSave ();
1925
1939
 
1926
- this .timeSensor ._stopTime = Date .now () / 1000;
1927
-
1928
1940
  if (this .timeSensor ._isActive .getValue ())
1929
- return;
1930
-
1931
- this .timeSensor ._evenLive = true;
1932
- this .timeSensor ._startTime = Date .now () / 1000;
1941
+ {
1942
+ this .timeSensor ._evenLive = false;
1943
+ this .timeSensor ._stopTime = Date .now () / 1000;
1944
+ }
1945
+ else
1946
+ {
1947
+ this .timeSensor ._evenLive = true;
1948
+ this .timeSensor ._startTime = Date .now () / 1000;
1949
+ }
1933
1950
  }
1934
1951
 
1935
1952
  toggleLoop ()
@@ -1942,6 +1959,13 @@ module .exports = class AnimationEditor extends Interface
1942
1959
  node ._evenLive = true;
1943
1960
  }
1944
1961
 
1962
+ toggleReverse ()
1963
+ {
1964
+ const node = this .timeSensor;
1965
+
1966
+ Editor .setFieldValue (this .browser .currentScene, node, node ._reverse, !node ._reverse .getValue ());
1967
+ }
1968
+
1945
1969
  showProperties ()
1946
1970
  {
1947
1971
  require ("../Controls/AnimationPropertiesPopover");
@@ -1971,7 +1995,7 @@ module .exports = class AnimationEditor extends Interface
1971
1995
  begin = selectionRange [0] / duration,
1972
1996
  end = selectionRange [1] / duration;
1973
1997
 
1974
- if (this .timeSensor ._range [1] !== begin && this .timeSensor ._range [2] !== end)
1998
+ if (!(this .timeSensor ._range [1] === begin && this .timeSensor ._range [2] === end))
1975
1999
  {
1976
2000
  this .timeSensor ._range [1] = begin;
1977
2001
  this .timeSensor ._range [2] = end;
@@ -2009,6 +2033,14 @@ module .exports = class AnimationEditor extends Interface
2009
2033
  this .loopIcon .removeClass ("active");
2010
2034
  }
2011
2035
 
2036
+ set_reverse (reverse)
2037
+ {
2038
+ if (reverse .getValue ())
2039
+ this .reverseIcon .addClass ("active");
2040
+ else
2041
+ this .reverseIcon .removeClass ("active");
2042
+ }
2043
+
2012
2044
  set_active (active)
2013
2045
  {
2014
2046
  if (!active .getValue ())
@@ -2705,7 +2737,7 @@ module .exports = class AnimationEditor extends Interface
2705
2737
 
2706
2738
  this .updateRange ();
2707
2739
  this .selectKeyframesInRange ();
2708
- this .requestDrawTimeline ();
2740
+ this .drawTimeline ();
2709
2741
  }
2710
2742
 
2711
2743
  expandSelectionRange (frame)
@@ -6,6 +6,7 @@ const
6
6
  electron = require ("electron"),
7
7
  Interface = require ("../Application/Interface"),
8
8
  util = require ("util"),
9
+ md5 = require ("md5"),
9
10
  _ = require ("../Application/GetText");
10
11
 
11
12
  module .exports = class Console extends Interface
@@ -130,6 +131,7 @@ module .exports = class Console extends Interface
130
131
  }
131
132
 
132
133
  electron .ipcRenderer .on ("console-message", this .addMessageCallback);
134
+ electron .ipcRenderer .on ("download-item", (event, ... args) => this .downloadItem (... args));
133
135
 
134
136
  this .setup ();
135
137
  }
@@ -188,17 +190,19 @@ module .exports = class Console extends Interface
188
190
  "error",
189
191
  ];
190
192
 
191
- addMessage (level, sourceId, line, message, html = false)
193
+ #scrollOptions = { behavior: "instant", block: "end" };
194
+
195
+ addMessage (level, sourceId, line, message)
192
196
  {
193
- if (this .excludes .some (exclude => message .includes (exclude)))
197
+ if (typeof message === "string" && this .excludes .some (exclude => message .includes (exclude)))
194
198
  return;
195
199
 
196
200
  const text = $("<p></p>")
197
201
  .addClass (typeof level === "string" ? level : (this .logLevels [level] ?? "log"))
198
202
  .attr ("title", sourceId ? `${sourceId}:${line}`: "");
199
203
 
200
- if (html)
201
- text .html (message);
204
+ if (message instanceof $)
205
+ text .append (message);
202
206
  else
203
207
  text .text (message);
204
208
 
@@ -209,14 +213,18 @@ module .exports = class Console extends Interface
209
213
 
210
214
  this .output .children (`:not(:nth-last-child(-n+${this .CONSOLE_MAX}))`) .remove ();
211
215
  this .output .append (text);
212
- this .output .scrollTop (this .output .prop ("scrollHeight"));
216
+ text .get (0) .scrollIntoView (this .#scrollOptions);
213
217
 
214
218
  this .findElements (text, this .currentElement, false);
215
219
  }
216
220
 
217
221
  addSplitter ()
218
222
  {
219
- this .output .append ($("<p></p>") .addClass ("splitter"));
223
+ const splitter = $("<p></p>") .addClass ("splitter");
224
+
225
+ this .output .append (splitter);
226
+
227
+ splitter .get (0) .scrollIntoView (this .#scrollOptions);
220
228
  }
221
229
 
222
230
  setSuspendConsole (value)
@@ -310,6 +318,75 @@ module .exports = class Console extends Interface
310
318
  div .remove ();
311
319
  }
312
320
 
321
+ downloadItem (state, filePath, ... args)
322
+ {
323
+ if (!filePath)
324
+ return;
325
+
326
+ const id = `download-item-${md5 (filePath)}`;
327
+
328
+ if (!$(`#${id}`) .length)
329
+ this .addMessage ("info", "", 0, $(`<span id="${id}"></span>`));
330
+
331
+ switch (state)
332
+ {
333
+ case "interrupted":
334
+ {
335
+ $(`#${id}`) .text (util .format (_(`Downloading "%s" interrupted.`), filePath));
336
+ break;
337
+ }
338
+ case "paused":
339
+ {
340
+ $(`#${id}`) .text (util .format (_(`Downloading "%s" paused.`), filePath));
341
+ break;
342
+ }
343
+ case "progress":
344
+ {
345
+ const percent = args [0] * 100;
346
+
347
+ $(`#${id}`) .text (util .format (_(`Downloading "%s": %s %%.`), filePath, percent .toFixed (1)));
348
+ break;
349
+ }
350
+ case "completed":
351
+ {
352
+ const title = (() =>
353
+ {
354
+ switch (process .platform)
355
+ {
356
+ case "darwin": return _("Reveal file in Finder.");
357
+ case "win32": return _("Reveal file in File Explorer.");
358
+ default: return _("Reveal file in File Manager.");
359
+ }
360
+ })();
361
+
362
+ const element = $(util .format (_(`<span>Downloading <a href="#" title="%s">%s</a> completed.</span>`), title, filePath));
363
+
364
+ element .find ("a") .on ("click", event =>
365
+ {
366
+ event .preventDefault ();
367
+ event .stopPropagation ();
368
+
369
+ electron .shell .showItemInFolder (filePath);
370
+ });
371
+
372
+ $(`#${id}`)
373
+ .removeAttr ("id")
374
+ .empty ()
375
+ .append (element);
376
+
377
+ break;
378
+ }
379
+ case "failed":
380
+ {
381
+ $(`#${id}`)
382
+ .removeAttr ("id")
383
+ .text (util .format (_(`Downloading "%s" failed.`), filePath));
384
+
385
+ break;
386
+ }
387
+ }
388
+ }
389
+
313
390
  evaluateSourceCode (event)
314
391
  {
315
392
  event .preventDefault ();
@@ -2339,9 +2339,9 @@ module .exports = class OutlineEditor extends OutlineRouteGraph
2339
2339
  }
2340
2340
  else
2341
2341
  {
2342
- Editor .setFieldValue (this .browser .currentScene, node, node ._startTime, Date .now () / 1000);
2343
-
2344
2342
  node ._evenLive = true;
2343
+
2344
+ Editor .setFieldValue (this .browser .currentScene, node, node ._startTime, Date .now () / 1000);
2345
2345
  }
2346
2346
  }
2347
2347
 
@@ -2355,6 +2355,8 @@ module .exports = class OutlineEditor extends OutlineRouteGraph
2355
2355
  event .preventDefault ();
2356
2356
  event .stopImmediatePropagation ();
2357
2357
 
2358
+ node ._evenLive = false;
2359
+
2358
2360
  Editor .setFieldValue (this .browser .currentScene, node, node ._stopTime, Date .now () / 1000);
2359
2361
  }
2360
2362
 
@@ -2374,6 +2376,19 @@ module .exports = class OutlineEditor extends OutlineRouteGraph
2374
2376
  node ._evenLive = true;
2375
2377
  }
2376
2378
 
2379
+ reverseNode (event)
2380
+ {
2381
+ const
2382
+ target = $(event .target),
2383
+ element = target .closest (".node, .imported-node, .exported-node", this .sceneGraph),
2384
+ node = this .getNode (element);
2385
+
2386
+ event .preventDefault ();
2387
+ event .stopImmediatePropagation ();
2388
+
2389
+ Editor .setFieldValue (this .browser .currentScene, node, node ._reverse, !node ._reverse .getValue ());
2390
+ }
2391
+
2377
2392
  addBooleanField (button)
2378
2393
  {
2379
2394
  const
@@ -334,6 +334,10 @@ module .exports = class OutlineView extends Interface
334
334
  this .loopNode (event);
335
335
  break;
336
336
 
337
+ case "reverse-node":
338
+ this .reverseNode (event);
339
+ break;
340
+
337
341
  case "reload-node":
338
342
  this .reloadNode (event);
339
343
  break;
@@ -1188,6 +1192,7 @@ module .exports = class OutlineView extends Interface
1188
1192
  node ._isActive .addFieldCallback (this .#updateNodePlaySymbol, this .updateNodePlay .bind (this, node));
1189
1193
  node ._isPaused .addFieldCallback (this .#updateNodePlaySymbol, this .updateNodePlay .bind (this, node));
1190
1194
  node ._loop .addFieldCallback (this .#updateNodePlaySymbol, this .updateNodePlay .bind (this, node));
1195
+ node ._reverse .addFieldCallback (this .#updateNodePlaySymbol, this .updateNodePlay .bind (this, node));
1191
1196
 
1192
1197
  buttons .push ($("<span></span>")
1193
1198
  .attr ("order", "5")
@@ -1216,6 +1221,19 @@ module .exports = class OutlineView extends Interface
1216
1221
  .text ("repeat"));
1217
1222
  }
1218
1223
 
1224
+ if (node .getFieldDefinitions () .get ("reverse"))
1225
+ {
1226
+ buttons .push ($("<span></span>")
1227
+ .attr ("order", "8")
1228
+ .attr ("title", _("Toggle reverse."))
1229
+ .attr ("action", "reverse-node")
1230
+ .css ("translate", "0 -1px")
1231
+ .css ("scale", "1 -1")
1232
+ .addClass (["button", "material-symbols-outlined"])
1233
+ .addClass (node ._reverse .getValue () ? "on" : "off")
1234
+ .text ("keyboard_return"));
1235
+ }
1236
+
1219
1237
  if (!node ._enabled .getValue ())
1220
1238
  buttons .slice (-3) .forEach (button => button .hide ());
1221
1239
 
@@ -1416,6 +1434,14 @@ module .exports = class OutlineView extends Interface
1416
1434
  .removeClass (["on", "off"])
1417
1435
  .addClass (node ._loop .getValue () ? "on" : "off"));
1418
1436
 
1437
+ buttons .push (this .sceneGraph
1438
+ .find (`.node[node-id=${node .getId ()}],
1439
+ .imported-node[node-id=${node .getId ()}],
1440
+ .exported-node[node-id=${node .getId ()}]`)
1441
+ .find ("> .item [action=reverse-node]")
1442
+ .removeClass (["on", "off"])
1443
+ .addClass (node ._reverse .getValue () ? "on" : "off"));
1444
+
1419
1445
  if (node ._enabled .getValue ())
1420
1446
  buttons .slice (-3) .forEach (button => button .show ());
1421
1447
  else
@@ -3154,6 +3180,7 @@ module .exports = class OutlineView extends Interface
3154
3180
  node ._isActive .removeFieldCallback (this .#updateNodePlaySymbol);
3155
3181
  node ._isPaused .removeFieldCallback (this .#updateNodePlaySymbol);
3156
3182
  node ._loop .removeFieldCallback (this .#updateNodePlaySymbol);
3183
+ node ._reverse .removeFieldCallback (this .#updateNodePlaySymbol);
3157
3184
  continue;
3158
3185
  }
3159
3186
  case X3D .X3DConstants .X3DBindableNode:
@@ -3396,6 +3423,8 @@ module .exports = class OutlineView extends Interface
3396
3423
 
3397
3424
  loopNode (event) { }
3398
3425
 
3426
+ reverseNode (event) { }
3427
+
3399
3428
  reloadNode (event)
3400
3429
  {
3401
3430
  const
@@ -8,6 +8,7 @@ const
8
8
  Editor = require ("../Undo/Editor"),
9
9
  UndoManager = require ("../Undo/UndoManager"),
10
10
  util = require ("util"),
11
+ Package = require ("../../package.json"),
11
12
  _ = require ("../Application/GetText");
12
13
 
13
14
  module .exports = class RouteGraph extends Interface
@@ -428,7 +429,7 @@ module .exports = class RouteGraph extends Interface
428
429
  {
429
430
  const configNode = readConfig ?? Editor .getConfigNode (this .browser .currentScene, true);
430
431
 
431
- configNode .setMetaData ("Sunrize/RouteGraph/pages", string);
432
+ configNode .setMetaData ("Sunrize/RouteGraph/pages", Package .homepage, string);
432
433
 
433
434
  UndoManager .shared .saveNeeded = true;
434
435
  }
@@ -8,6 +8,7 @@ const
8
8
  Traverse = require ("x3d-traverse"),
9
9
  path = require ("path"),
10
10
  url = require ("url"),
11
+ Package = require ("../../../package.json"),
11
12
  _ = require ("../../Application/GetText");
12
13
 
13
14
  const _tool = Symbol .for ("Sunrize.tool");
@@ -450,7 +451,7 @@ class X3DNodeTool extends X3DBaseTool
450
451
  break;
451
452
  }
452
453
 
453
- this .setMetaData (`${this .getTypeName ()}/${name}`, initialValue);
454
+ this .setMetaData (`${this .getTypeName ()}/${name}`, Package .homepage, initialValue);
454
455
 
455
456
  Editor .setNodeMetaData (this .node, `${this .getTypeName ()}/${name}`, value);
456
457
  }
@@ -4,7 +4,8 @@ const
4
4
  X3DActiveLayerNodeTool = require ("../Layering/X3DActiveLayerNodeTool"),
5
5
  X3D = require ("../../X3D"),
6
6
  ActionKeys = require ("../../Application/ActionKeys"),
7
- Editor = require ("../../Undo/Editor.js");
7
+ Editor = require ("../../Undo/Editor.js"),
8
+ Package = require ("../../../package.json");
8
9
 
9
10
  class X3DGridNodeTool extends X3DActiveLayerNodeTool
10
11
  {
@@ -99,7 +100,7 @@ class X3DGridNodeTool extends X3DActiveLayerNodeTool
99
100
  {
100
101
  const configNode = Editor .getLayerConfigNode (this .getBrowser (), true);
101
102
 
102
- configNode ?.setMetaData (path, field);
103
+ configNode ?.setMetaData (path, Package .homepage, field);
103
104
  }
104
105
  }
105
106
 
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
 
3
- const X3DLightNodeTool = require ("./X3DLightNodeTool");
3
+ const
4
+ X3DLightNodeTool = require ("./X3DLightNodeTool"),
5
+ Package = require ("../../../package.json");
4
6
 
5
7
  class DirectionalLightTool extends X3DLightNodeTool
6
8
  {
@@ -35,7 +37,7 @@ class DirectionalLightTool extends X3DLightNodeTool
35
37
  {
36
38
  this .#changing = true;
37
39
 
38
- this .setMetaData ("DirectionalLight/location", this .tool .location);
40
+ this .setMetaData ("DirectionalLight/location", Package .homepage, this .tool .location);
39
41
  }
40
42
 
41
43
  set_meta_location ()
@@ -3,6 +3,7 @@
3
3
  const
4
4
  X3DActiveLayerNodeTool = require ("../Layering/X3DActiveLayerNodeTool"),
5
5
  ActionKeys = require ("../../Application/ActionKeys"),
6
+ X3D = require ("../../X3D"),
6
7
  $ = require ("jquery");
7
8
 
8
9
  class X3DSnapNodeTool extends X3DActiveLayerNodeTool
@@ -42,7 +43,7 @@ class X3DSnapNodeTool extends X3DActiveLayerNodeTool
42
43
 
43
44
  const { x, y } = this .getBrowser () .getPointerFromEvent (event);
44
45
 
45
- if (!this .getBrowser () .touch (x, y))
46
+ if (!this .getBrowser () .touch (X3D .PointingType .TOUCH, x, y))
46
47
  {
47
48
  this ._visible = false;
48
49
  return;
@@ -70,7 +71,7 @@ class X3DSnapNodeTool extends X3DActiveLayerNodeTool
70
71
  {
71
72
  const { x, y } = this .getBrowser () .getPointerFromEvent (event);
72
73
 
73
- if (!this .getBrowser () .touch (x, y))
74
+ if (!this .getBrowser () .touch (X3D .PointingType .TOUCH, x, y))
74
75
  return;
75
76
 
76
77
  // Stop event propagation.
@@ -9,6 +9,7 @@ const
9
9
  X3D = require ("../X3D"),
10
10
  Traverse = require ("x3d-traverse"),
11
11
  UndoManager = require ("./UndoManager"),
12
+ Package = require ("../../package.json"),
12
13
  _ = require ("../Application/GetText");
13
14
 
14
15
  module .exports = class Editor
@@ -1979,7 +1980,7 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
1979
1980
 
1980
1981
  undoManager .beginUndo (_("Change Metadata of Node %s"), node .getTypeName ());
1981
1982
 
1982
- node .setMetaData (path, value);
1983
+ node .setMetaData (path, Package .homepage, value);
1983
1984
 
1984
1985
  undoManager .registerUndo (() =>
1985
1986
  {
@@ -2758,7 +2759,7 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
2758
2759
  static moveNodesToTarget (executionContext, layerNode, nodes, targetPosition, targetNormal, sourcePosition, sourceNormal, moveCenter, undoManager = UndoManager .shared)
2759
2760
  {
2760
2761
  const
2761
- [values, bbox] = this .getModelMatricesAndBBoxes (executionContext, layerNode, nodes),
2762
+ [values, bbox] = this .getModelMatricesAndBBoxes (executionContext, layerNode, nodes, true),
2762
2763
  bboxCenter = bbox .center;
2763
2764
 
2764
2765
  if (moveCenter)
@@ -2946,7 +2947,7 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
2946
2947
  * @param {Array<X3DNode>} nodes
2947
2948
  * @returns {[Map<X3DNode,Box3[]>,Box3]}
2948
2949
  */
2949
- static getModelMatricesAndBBoxes (executionContext, layerNode, nodes)
2950
+ static getModelMatricesAndBBoxes (executionContext, layerNode, nodes, visible)
2950
2951
  {
2951
2952
  const
2952
2953
  values = new Map (),
@@ -2956,7 +2957,7 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
2956
2957
  {
2957
2958
  const
2958
2959
  innerNode = $.try (() => node .getInnerNode ()),
2959
- modelMatrices = this .getModelMatrices (executionContext, layerNode, node, false);
2960
+ modelMatrices = this .getModelMatrices (executionContext, layerNode, node, false, visible);
2960
2961
 
2961
2962
  if (!innerNode)
2962
2963
  continue;
@@ -3020,7 +3021,7 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
3020
3021
  * @param {boolean} addSelf
3021
3022
  * @returns {Array<Matrix4>}
3022
3023
  */
3023
- static getModelMatrices (executionContext, layerNode, node, addSelf = false)
3024
+ static getModelMatrices (executionContext, layerNode, node, addSelf, visible)
3024
3025
  {
3025
3026
  node = node .valueOf ();
3026
3027
 
@@ -3028,7 +3029,7 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
3028
3029
  hierarchies = Traverse .find (executionContext, node, Traverse .ROOT_NODES),
3029
3030
  modelMatrices = [ ];
3030
3031
 
3031
- for (const hierarchy of hierarchies)
3032
+ HIERARCHY: for (const hierarchy of hierarchies)
3032
3033
  {
3033
3034
  const modelMatrix = new X3D .Matrix4 ();
3034
3035
 
@@ -3045,6 +3046,9 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
3045
3046
  continue;
3046
3047
  }
3047
3048
 
3049
+ if (visible && object .getType () .includes (X3D .X3DConstants .X3DBoundedObject) && !object ._visible .getValue ())
3050
+ continue HIERARCHY;
3051
+
3048
3052
  if (!object .getType () .includes (X3D .X3DConstants .X3DTransformMatrix3DNode))
3049
3053
  continue;
3050
3054
 
@@ -2,7 +2,7 @@
2
2
  <!-- X3D Unified Object Model (X3DUOM) X3dUnifiedObjectModel-4.1.xml -->
3
3
  <!-- Online at https://www.web3d.org/specifications/X3dUnifiedObjectModel-4.1.xml -->
4
4
  <!-- This file contains a listing of all abstract and concrete nodes in version 4.1 of X3D -->
5
- <!-- Generated 2026-10-28-07:00 19:32:04.834869-07:00 -->
5
+ <!-- Generated 2026-11-08-08:00 08:49:21.9672839-08:00 -->
6
6
  <X3dUnifiedObjectModel xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"
7
7
  version="4.1"
8
8
  xsd:noNamespaceSchemaLocation="https://www.web3d.org/specifications/X3dUnifiedObjectModel.xsd">
@@ -291,7 +291,7 @@
291
291
  appinfo="containerFieldChoicesAudioClip lists the allowed containerField enumeration values for AudioClip node: default &#34;source&#34; if parent node is Sound node, &#34;inputs&#34; if parent is part of audio graph, otherwise &#34;children&#34; if parent node is LoadSensor."
292
292
  documentation="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#containerField">
293
293
  <enumeration value="children"
294
- appinfo="parent node is X3DSoundChannelNode, X3DSoundDestinationNode, or X3DSoundProcessingNode"/>
294
+ appinfo="parent node is X3DSoundChannelNode, X3DSoundDestinationNode, X3DSoundProcessingNode or LoadSensor"/>
295
295
  <enumeration value="source"
296
296
  appinfo="parent node is Sound node (legacy X3D3 SFNode source is allowed content model, prefer X3D4 MFNode children)"/>
297
297
  <enumeration value="watchList"
@@ -299,7 +299,7 @@
299
299
  </SimpleType>
300
300
  <SimpleType name="containerFieldChoicesAudioGraph"
301
301
  baseType="xs:NMTOKEN"
302
- appinfo="containerFieldChoicesAudioClip lists the allowed containerField enumeration values for AudioClip node: default &#34;children&#34; if parent is part of audio graph, &#34;source&#34; if parent node is Sound node, otherwise &#34;outputs&#34; signal is provided to this node by parent ChannelSplitter node."
302
+ appinfo="containerFieldChoicesAudioGraph lists the allowed containerField enumeration values for audio graph nodes: default &#34;children&#34; if parent is part of audio graph, &#34;source&#34; if parent node is Sound node, otherwise &#34;outputs&#34; signal is provided to this node by parent ChannelSplitter node."
303
303
  documentation="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#containerField">
304
304
  <enumeration value="children"
305
305
  appinfo="provide inputs to parent (X3DSoundChannelNode, X3DSoundDestinationNode, X3DSoundProcessingNode) as part of audio graph, otherwise standalone as childe in scene graph"/>
@@ -410,7 +410,7 @@
410
410
  appinfo="containerFieldChoicesSoundSource lists the allowed containerField enumeration values for X3DSoundSourceNode elements: default &#34;source&#34; if parent node is Sound node, otherwise &#34;inputs&#34; if parent node is another node in audio graph."
411
411
  documentation="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#containerField">
412
412
  <enumeration value="children"
413
- appinfo="parent node is X3DSoundChannelNode, X3DSoundDestinationNode, or X3DSoundProcessingNode"/>
413
+ appinfo="parent node is X3DSoundChannelNode, X3DSoundDestinationNode, X3DSoundProcessingNode or LoadSensor"/>
414
414
  <enumeration value="source"
415
415
  appinfo="parent node is Sound node (legacy X3D3 SFNode source is allowed content model, prefer X3D4 MFNode children)"/>
416
416
  </SimpleType>
@@ -21855,7 +21855,8 @@
21855
21855
  <field name="displacers"
21856
21856
  type="MFNode"
21857
21857
  accessType="inputOutput"
21858
- acceptableNodeTypes="HAnimDisplacer"/>
21858
+ acceptableNodeTypes="HAnimDisplacer"
21859
+ description="Contains zero or more HAnimDisplacer nodes that can animate the HAnimHumanoid skinCoord field."/>
21859
21860
  <field name="info"
21860
21861
  type="MFString"
21861
21862
  accessType="inputOutput"
@@ -21882,7 +21883,7 @@
21882
21883
  type="MFNode"
21883
21884
  accessType="inputOutput"
21884
21885
  acceptableNodeTypes="HAnimJoint"
21885
- description="The joints field contains a list of USE references for all HAnimJoint node instances found within the preceding skeleton hierarchy."/>
21886
+ description="(Deprecated) The joints field contains a list of USE references for all HAnimJoint node instances found within the preceding skeleton hierarchy."/>
21886
21887
  <field name="loa"
21887
21888
  type="SFInt32"
21888
21889
  accessType="inputOutput"
@@ -21932,12 +21933,12 @@
21932
21933
  type="MFNode"
21933
21934
  accessType="inputOutput"
21934
21935
  acceptableNodeTypes="HAnimSegment"
21935
- description="The segments field contains a list of USE references for all HAnimSegment node instances found within the preceding skeleton hierarchy."/>
21936
+ description="(Deprecated) The segments field contains a list of USE references for all HAnimSegment node instances found within the preceding skeleton hierarchy."/>
21936
21937
  <field name="sites"
21937
21938
  type="MFNode"
21938
21939
  accessType="inputOutput"
21939
21940
  acceptableNodeTypes="HAnimSite"
21940
- description="sites field contains a list of USE references for all HAnimSite node instances found within the preceding skeleton hierarchy."/>
21941
+ description="(Deprecated) sites field contains a list of USE references for all HAnimSite node instances found within the preceding skeleton hierarchy."/>
21941
21942
  <field name="skeletalConfiguration"
21942
21943
  type="SFString"
21943
21944
  accessType="inputOutput"
@@ -24354,7 +24355,8 @@
24354
24355
  type="SFNode"
24355
24356
  accessType="inputOutput"
24356
24357
  default="NULL"
24357
- acceptableNodeTypes="X3DCoordinateNode"/>
24358
+ acceptableNodeTypes="X3DCoordinateNode"
24359
+ description="the coord field is used for HAnimSite objects that have deformable meshes and shall contain coordinates referenced from the mesh in the current object."/>
24358
24360
  <field name="description"
24359
24361
  type="SFString"
24360
24362
  accessType="inputOutput"
@@ -24362,7 +24364,8 @@
24362
24364
  <field name="displacers"
24363
24365
  type="MFNode"
24364
24366
  accessType="inputOutput"
24365
- acceptableNodeTypes="HAnimDisplacer"/>
24367
+ acceptableNodeTypes="HAnimDisplacer"
24368
+ description="the displacers field stores HAnimDisplacer objects for a particular HAnimJoint object."/>
24366
24369
  <field name="IS"
24367
24370
  type="SFNode"
24368
24371
  accessType="inputOutput"
@@ -14,6 +14,7 @@
14
14
  <x3d-canvas
15
15
  id="browser"
16
16
  cache="false"
17
+ contentScale="auto"
17
18
  contextMenu="false"
18
19
  debug="true"
19
20
  preserveDrawingBuffer="true"
@@ -1270,6 +1270,8 @@ body.dark .ui-widget .library-list .component {
1270
1270
 
1271
1271
  .console-output a {
1272
1272
  color: var(--system-orange);
1273
+ text-decoration: none;
1274
+ border-bottom: 1px solid var(--system-orange);
1273
1275
  }
1274
1276
 
1275
1277
  .console-input {