sunrize 2.1.6 → 2.1.8
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 +6 -5
- package/src/Application/Application.js +3 -3
- package/src/Application/Document.js +5 -2
- package/src/Undo/Editor.js +1 -6
- package/src/assets/X3DUOM.xml +1884 -783
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sunrize",
|
|
3
3
|
"productName": "Sunrize X3D Editor",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.8",
|
|
5
5
|
"description": "Sunrize — A Multi-Platform X3D Editor",
|
|
6
6
|
"main": "src/main.js",
|
|
7
7
|
"bin": {
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"jquery-ui-dist": "^1.13.3",
|
|
106
106
|
"jstree": "^3.3.17",
|
|
107
107
|
"material-icons": "^1.13.14",
|
|
108
|
-
"material-symbols": "^0.45.
|
|
108
|
+
"material-symbols": "^0.45.2",
|
|
109
109
|
"md5": "^2.3.0",
|
|
110
110
|
"mime-types": "^3.0.2",
|
|
111
111
|
"monaco-editor": "^0.55.1",
|
|
@@ -115,9 +115,10 @@
|
|
|
115
115
|
"string-similarity": "^4.0.4",
|
|
116
116
|
"tweakpane": "^4.0.5",
|
|
117
117
|
"update-electron-app": "^3.2.0",
|
|
118
|
-
"x_ite": "^15.1.
|
|
119
|
-
"x_ite-off-parser": "^1.
|
|
120
|
-
"x_ite-
|
|
118
|
+
"x_ite": "^15.1.7",
|
|
119
|
+
"x_ite-off-parser": "^1.2.4",
|
|
120
|
+
"x_ite-sog-parser": "^1.2.4",
|
|
121
|
+
"x_ite-spz-parser": "^1.3.3",
|
|
121
122
|
"x3d-traverse": "^2.0.1"
|
|
122
123
|
}
|
|
123
124
|
}
|
|
@@ -1030,15 +1030,15 @@ module .exports = class Application
|
|
|
1030
1030
|
},
|
|
1031
1031
|
{
|
|
1032
1032
|
name: _("3D"),
|
|
1033
|
-
extensions: ["gltf", "glb", "vrm", "obj", "stl", "ply", "spz", "off", "svg"],
|
|
1033
|
+
extensions: ["gltf", "glb", "vrm", "obj", "stl", "ply", "sog", "spz", "off", "svg"],
|
|
1034
1034
|
},
|
|
1035
1035
|
{
|
|
1036
1036
|
name: _("Audio"),
|
|
1037
|
-
extensions: ["mp3", "wav", "oga", "ogg"],
|
|
1037
|
+
extensions: ["mp3", "mp4", "m4a", "aac", "wav", "webm", "oga", "ogg"],
|
|
1038
1038
|
},
|
|
1039
1039
|
{
|
|
1040
1040
|
name: _("Images"),
|
|
1041
|
-
extensions: ["png", "jpg", "jpeg", "gif", "webp", "ktx2"],
|
|
1041
|
+
extensions: ["png", "jpg", "jpeg", "gif", "webp", "avif", "ktx2"],
|
|
1042
1042
|
},
|
|
1043
1043
|
{
|
|
1044
1044
|
name: _("Video"),
|
|
@@ -18,10 +18,13 @@ const
|
|
|
18
18
|
ImageParser = require ("../Parser/ImageParser"),
|
|
19
19
|
VideoParser = require ("../Parser/VideoParser"),
|
|
20
20
|
AudioParser = require ("../Parser/AudioParser"),
|
|
21
|
-
SPZParser = require ("x_ite-spz-parser"),
|
|
22
|
-
OffParser = require ("x_ite-off-parser"),
|
|
23
21
|
_ = require ("./GetText");
|
|
24
22
|
|
|
23
|
+
require ("x_ite-sog-parser");
|
|
24
|
+
require ("x_ite-spz-parser/x_ite-spz-parser-123.js");
|
|
25
|
+
require ("x_ite-spz-parser/x_ite-spz-parser-4.js");
|
|
26
|
+
require ("x_ite-off-parser");
|
|
27
|
+
|
|
25
28
|
module .exports = class Document extends Interface
|
|
26
29
|
{
|
|
27
30
|
#replaceWorld;
|
package/src/Undo/Editor.js
CHANGED
|
@@ -3105,10 +3105,7 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
|
|
|
3105
3105
|
auxiliary .fromString (string, executionContext);
|
|
3106
3106
|
|
|
3107
3107
|
if (auxiliary .equals (field))
|
|
3108
|
-
{
|
|
3109
|
-
field .addEvent ();
|
|
3110
3108
|
return;
|
|
3111
|
-
}
|
|
3112
3109
|
|
|
3113
3110
|
if (node .getDisplayName ())
|
|
3114
3111
|
undoManager .beginUndo (_("Change Field »%s« of Node %s »%s«"), field .getName (), node .getTypeName (), node .getDisplayName ());
|
|
@@ -3152,16 +3149,14 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
|
|
|
3152
3149
|
{
|
|
3153
3150
|
const auxiliary = field .create ();
|
|
3154
3151
|
|
|
3152
|
+
auxiliary .setUnit (field .getUnit ());
|
|
3155
3153
|
auxiliary .setValue (value);
|
|
3156
3154
|
|
|
3157
3155
|
value = auxiliary;
|
|
3158
3156
|
}
|
|
3159
3157
|
|
|
3160
3158
|
if (value .equals (field))
|
|
3161
|
-
{
|
|
3162
|
-
field .addEvent ();
|
|
3163
3159
|
return;
|
|
3164
|
-
}
|
|
3165
3160
|
|
|
3166
3161
|
if (node .getDisplayName ())
|
|
3167
3162
|
undoManager .beginUndo (_("Change Field »%s« of Node %s »%s«"), field .getName (), node .getTypeName (), node .getDisplayName ());
|