@jscad/web 2.5.4 → 2.5.5
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/CHANGELOG.md +11 -0
- package/dist/jscad-web.min.js +504 -501
- package/examples/CHANGELOG.md +8 -0
- package/examples/package.json +1 -1
- package/package.json +7 -7
- package/src/ui/views/viewer.js +1 -1
- package/src/utils/logger.js +1 -1
package/examples/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.3.2](https://github.com/jscad/OpenJSCAD.org/compare/@jscad/examples@2.3.1...@jscad/examples@2.3.2) (2022-02-19)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @jscad/examples
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [2.3.1](https://github.com/jscad/OpenJSCAD.org/compare/@jscad/examples@2.3.0...@jscad/examples@2.3.1) (2021-09-27)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @jscad/examples
|
package/examples/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jscad/web",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.5",
|
|
4
4
|
"description": "Web Application for JSCAD",
|
|
5
5
|
"repository": "https://github.com/jscad/OpenJSCAD.org",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
],
|
|
35
35
|
"license": "MIT",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@jscad/array-utils": "2.1.
|
|
38
|
-
"@jscad/core": "2.5.
|
|
37
|
+
"@jscad/array-utils": "2.1.2",
|
|
38
|
+
"@jscad/core": "2.5.5",
|
|
39
39
|
"@jscad/examples": "2.3.2",
|
|
40
|
-
"@jscad/io": "2.2.
|
|
41
|
-
"@jscad/modeling": "2.
|
|
42
|
-
"@jscad/regl-renderer": "2.5.
|
|
40
|
+
"@jscad/io": "2.2.5",
|
|
41
|
+
"@jscad/modeling": "2.8.0",
|
|
42
|
+
"@jscad/regl-renderer": "2.5.5",
|
|
43
43
|
"@most/create": "2.0.1",
|
|
44
44
|
"brace": "0.11.1",
|
|
45
45
|
"codemirror": "5.57.0",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"url": "https://opencollective.com/openjscad",
|
|
67
67
|
"logo": "https://opencollective.com/openjscad/logo.txt"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "92fb9c75eb070fca5f5ee8c2bab6614b1f54514e"
|
|
70
70
|
}
|
package/src/ui/views/viewer.js
CHANGED
|
@@ -143,7 +143,7 @@ const viewer = (state, i18n) => {
|
|
|
143
143
|
} else {
|
|
144
144
|
// only generate entities when the solids change
|
|
145
145
|
// themes, options, etc also change the viewer state
|
|
146
|
-
const solids = state.design.solids
|
|
146
|
+
const solids = state.design.solids.filter((solid) => solid && (solid instanceof Object))
|
|
147
147
|
if (prevSolids) {
|
|
148
148
|
const theme = state.themes.themeSettings.viewer
|
|
149
149
|
const color = theme.rendering.meshColor
|