sunrize 2.1.7 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sunrize",
3
3
  "productName": "Sunrize X3D Editor",
4
- "version": "2.1.7",
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.1",
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,10 +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.4",
119
- "x_ite-off-parser": "^1.0.7",
120
- "x_ite-sog-parser": "^1.0.3",
121
- "x_ite-spz-parser": "^1.1.3",
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",
122
122
  "x3d-traverse": "^2.0.1"
123
123
  }
124
124
  }
@@ -1034,7 +1034,7 @@ module .exports = class Application
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"),
@@ -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 ());