sunrize 1.7.15 → 1.7.17

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": "1.7.15",
4
+ "version": "1.7.17",
5
5
  "description": "A Multi-Platform X3D Editor",
6
6
  "main": "src/main.js",
7
7
  "bin": {
@@ -24,7 +24,7 @@
24
24
  "github": "env PATH=\"$(pwd)/build/wine-proxy:$PATH\" electron-forge publish",
25
25
  "postgithub": "npm i -P electron",
26
26
  "predocs": "rm -f -r docs/_site/",
27
- "docs": "cd docs && bundle exec jekyll serve --incremental --host=`ipconfig getifaddr en0`",
27
+ "docs": "cd docs && bundle exec jekyll serve --ssl-key ssl/server.key --ssl-cert ssl/server.crt --incremental --host=`ipconfig getifaddr en0`",
28
28
  "docs-install": "cd docs && bundle install",
29
29
  "docs-update": "cd docs && bundle update",
30
30
  "merge-development": "sh build/merge-development.sh",
@@ -90,7 +90,7 @@
90
90
  "dependencies": {
91
91
  "capitalize": "^2.0.4",
92
92
  "console": "^0.7.2",
93
- "electron": "^30.4.0",
93
+ "electron": "^32.0.2",
94
94
  "electron-prompt": "^1.7.0",
95
95
  "electron-squirrel-startup": "^1.0.1",
96
96
  "electron-tabs": "^1.0.4",
@@ -99,7 +99,7 @@
99
99
  "jquery-ui-dist": "^1.13.3",
100
100
  "jstree": "^3.3.16",
101
101
  "material-icons": "^1.13.12",
102
- "material-symbols": "^0.22.2",
102
+ "material-symbols": "^0.23.0",
103
103
  "md5": "^2.3.0",
104
104
  "mime-types": "^2.1.35",
105
105
  "monaco-editor": "^0.50.0",
@@ -109,7 +109,7 @@
109
109
  "string-similarity": "^4.0.4",
110
110
  "tweakpane": "^3.1.10",
111
111
  "update-electron-app": "^3.0.0",
112
- "x_ite": "^10.4.1"
112
+ "x_ite": "^10.5.0"
113
113
  },
114
114
  "config": {
115
115
  "forge": {
@@ -143,9 +143,6 @@ module .exports = class Dashboard extends Interface
143
143
 
144
144
  const [values, bbox] = Editor .getModelMatricesAndBBoxes (executionContext, layerNode, nodes);
145
145
 
146
- if (!bbox .size .magnitude ())
147
- return;
148
-
149
146
  viewpointNode .lookAtBBox (layerNode, bbox, 1, straighten);
150
147
  }
151
148
  else
@@ -117,28 +117,30 @@ $.fn.texturePreviewPopover = async function (node)
117
117
 
118
118
  function sizesText ()
119
119
  {
120
+ const format = node .isTransparent () ? "RGBA" : "RGB";
121
+
120
122
  for (const type of node .getType () .toReversed ())
121
123
  {
122
124
  switch (type)
123
125
  {
124
126
  case X3D .X3DConstants .MovieTexture:
125
127
  {
126
- sizes .text (`${node .getWidth ()} × ${node .getHeight ()}, ${formatTime (node ._duration_changed .getValue ())}`);
128
+ sizes .text (`${node .getWidth ()} × ${node .getHeight ()}, ${formatTime (node ._duration_changed .getValue ())}, ${format}`);
127
129
  break;
128
130
  }
129
131
  case X3D .X3DConstants .X3DEnvironmentTextureNode:
130
132
  {
131
- sizes .text (`${node .getSize ()} × ${node .getSize ()}`);
133
+ sizes .text (`${node .getSize ()} × ${node .getSize ()}, ${format}`);
132
134
  break;
133
135
  }
134
136
  case X3D .X3DConstants .X3DTexture2DNode:
135
137
  {
136
- sizes .text (`${node .getWidth ()} × ${node .getHeight ()}`);
138
+ sizes .text (`${node .getWidth ()} × ${node .getHeight ()}, ${format}`);
137
139
  break;
138
140
  }
139
141
  case X3D .X3DConstants .X3DTexture3DNode:
140
142
  {
141
- sizes .text (`${node .getWidth ()} × ${node .getHeight ()} × ${node .getDepth ()}`);
143
+ sizes .text (`${node .getWidth ()} × ${node .getHeight ()} × ${node .getDepth ()}, ${format}`);
142
144
  break;
143
145
  }
144
146
  default: