sunrize 1.11.14 → 1.11.16
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 +2 -2
- package/src/Application/Document.js +24 -0
- package/src/assets/X3DUOM.xml +7 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sunrize",
|
|
3
3
|
"productName": "Sunrize X3D Editor",
|
|
4
|
-
"version": "1.11.
|
|
4
|
+
"version": "1.11.16",
|
|
5
5
|
"description": "A Multi-Platform X3D Editor",
|
|
6
6
|
"main": "src/main.js",
|
|
7
7
|
"bin": {
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"string-similarity": "^4.0.4",
|
|
111
111
|
"tweakpane": "^3.1.10",
|
|
112
112
|
"update-electron-app": "^3.1.2",
|
|
113
|
-
"x_ite": "^12.2.
|
|
113
|
+
"x_ite": "^12.2.4",
|
|
114
114
|
"x3d-traverse": "^1.0.22"
|
|
115
115
|
}
|
|
116
116
|
}
|
|
@@ -67,6 +67,8 @@ module .exports = class Document extends Interface
|
|
|
67
67
|
.on ("focusin", () => this .onfocus ())
|
|
68
68
|
.on ("focusout", () => this .onfocus ());
|
|
69
69
|
|
|
70
|
+
$(window) .on ("keydown", event => this .onkeydown (event));
|
|
71
|
+
|
|
70
72
|
// File Menu
|
|
71
73
|
|
|
72
74
|
electron .ipcRenderer .on ("open-files", (event, urls) => this .loadURL (urls [0])); // DEBUG
|
|
@@ -353,6 +355,28 @@ module .exports = class Document extends Interface
|
|
|
353
355
|
return true;
|
|
354
356
|
}
|
|
355
357
|
|
|
358
|
+
// Menu Accelerators Fix for Windows.
|
|
359
|
+
|
|
360
|
+
onkeydown (event)
|
|
361
|
+
{
|
|
362
|
+
switch (event .key)
|
|
363
|
+
{
|
|
364
|
+
case "a":
|
|
365
|
+
{
|
|
366
|
+
if (this .activeElementIsInputOrOutput ())
|
|
367
|
+
break;
|
|
368
|
+
|
|
369
|
+
if (event .ctrlKey)
|
|
370
|
+
{
|
|
371
|
+
this .sidebar .outlineEditor .selectAll ();
|
|
372
|
+
return false;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
break;
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
|
|
356
380
|
/*
|
|
357
381
|
* File Menu
|
|
358
382
|
*/
|
package/src/assets/X3DUOM.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<!-- X3D Unified Object Model (X3DUOM) X3dUnifiedObjectModel-4.0.xml -->
|
|
3
3
|
<!-- Online at https://www.web3d.org/specifications/X3dUnifiedObjectModel-4.0.xml -->
|
|
4
4
|
<!-- This file contains a listing of all abstract and concrete nodes in version 4.0 of X3D -->
|
|
5
|
-
<!-- Generated 2025-
|
|
5
|
+
<!-- Generated 2025-12-26-08:00 00:42:29.2674537-08:00 -->
|
|
6
6
|
<X3dUnifiedObjectModel xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"
|
|
7
7
|
version="4.0"
|
|
8
8
|
xsd:noNamespaceSchemaLocation="X3dUnifiedObjectModel.xsd">
|
|
@@ -2213,6 +2213,7 @@
|
|
|
2213
2213
|
index="83"
|
|
2214
2214
|
default="0.0044 1.6209 0.0236"
|
|
2215
2215
|
parent="vc1"
|
|
2216
|
+
parentLOA2="vc2"
|
|
2216
2217
|
loa="1"
|
|
2217
2218
|
documentation="https://en.wikipedia.org/wiki/Skull"/>
|
|
2218
2219
|
<enumeration value="l_eyelid_joint"
|
|
@@ -3684,6 +3685,7 @@
|
|
|
3684
3685
|
<enumeration value="createParticles"/>
|
|
3685
3686
|
<enumeration value="cryptoSystem"/>
|
|
3686
3687
|
<enumeration value="cryptoKeyID"/>
|
|
3688
|
+
<enumeration value="curve"/>
|
|
3687
3689
|
<enumeration value="cutOffAngle"/>
|
|
3688
3690
|
<enumeration value="cycleInterval"/>
|
|
3689
3691
|
<enumeration value="data"/>
|
|
@@ -4751,7 +4753,7 @@
|
|
|
4751
4753
|
appinfo="X3D version 3.3 approved by ISO in 2013 as International Standard (IS). Backwards compatibility maintained with versions 3.0, 3.1 and 3.2."
|
|
4752
4754
|
documentation="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/X3D.html"/>
|
|
4753
4755
|
<enumeration value="4.0"
|
|
4754
|
-
appinfo="X3D version 4.0
|
|
4756
|
+
appinfo="X3D version 4.0 approved by ISO in 2023 as International Standard (IS). Backwards compatibility maintained with versions 3.0, 3.1, 3.2 and 3.3."
|
|
4755
4757
|
documentation="https://www.web3d.org/x3d4"/>
|
|
4756
4758
|
</SimpleType>
|
|
4757
4759
|
</SimpleTypeEnumerations>
|
|
@@ -19250,7 +19252,7 @@
|
|
|
19250
19252
|
</ConcreteNode>
|
|
19251
19253
|
<ConcreteNode name="GeoLocation">
|
|
19252
19254
|
<InterfaceDefinition specificationUrl="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/geospatial.html#GeoLocation"
|
|
19253
|
-
appinfo="GeoLocation positions a regular X3D model onto earth's surface.">
|
|
19255
|
+
appinfo="GeoLocation positions a regular X3D model onto the earth's surface.">
|
|
19254
19256
|
<componentInfo name="Geospatial" level="1"/>
|
|
19255
19257
|
<Inheritance baseType="X3DGroupingNode"/>
|
|
19256
19258
|
<field name="addChildren"
|
|
@@ -22018,6 +22020,7 @@
|
|
|
22018
22020
|
index="83"
|
|
22019
22021
|
default="0.0044 1.6209 0.0236"
|
|
22020
22022
|
parent="vc1"
|
|
22023
|
+
parentLOA2="vc2"
|
|
22021
22024
|
loa="1"
|
|
22022
22025
|
documentation="https://en.wikipedia.org/wiki/Skull"/>
|
|
22023
22026
|
<enumeration value="l_eyelid_joint"
|
|
@@ -43144,7 +43147,7 @@
|
|
|
43144
43147
|
appinfo="X3D version 3.3 approved by ISO in 2013 as International Standard (IS). Backwards compatibility maintained with versions 3.0, 3.1 and 3.2."
|
|
43145
43148
|
documentation="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/X3D.html"/>
|
|
43146
43149
|
<enumeration value="4.0"
|
|
43147
|
-
appinfo="X3D version 4.0
|
|
43150
|
+
appinfo="X3D version 4.0 approved by ISO in 2023 as International Standard (IS). Backwards compatibility maintained with versions 3.0, 3.1, 3.2 and 3.3."
|
|
43148
43151
|
documentation="https://www.web3d.org/x3d4"/>
|
|
43149
43152
|
</field>
|
|
43150
43153
|
<ContentModel>
|