@jscad/web 2.5.0 → 2.5.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@jscad/web",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "Web Application for JSCAD",
5
5
  "repository": "https://github.com/jscad/OpenJSCAD.org",
6
6
  "main": "src/index.js",
@@ -35,11 +35,11 @@
35
35
  "license": "MIT",
36
36
  "dependencies": {
37
37
  "@jscad/array-utils": "2.1.0",
38
- "@jscad/core": "2.5.0",
38
+ "@jscad/core": "2.5.1",
39
39
  "@jscad/examples": "2.3.1",
40
- "@jscad/io": "2.2.0",
41
- "@jscad/modeling": "2.6.1",
42
- "@jscad/regl-renderer": "2.5.1",
40
+ "@jscad/io": "2.2.1",
41
+ "@jscad/modeling": "2.7.0",
42
+ "@jscad/regl-renderer": "2.5.2",
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": "d716497da91f951ddf7b0e0096eb7343846bc4bd"
69
+ "gitHead": "fbc9b90f0ae02bea4e6e7b974c65e751c3858269"
70
70
  }
@@ -232,11 +232,9 @@ const setup = (element) => {
232
232
  entities: []
233
233
  }
234
234
  if (type === 'webgl') {
235
- if (!gl.getExtension('OES_element_index_uint')) {
236
- error = 'Your browser uses an old version of WebGL without OES_element_index_uint. Please upgrade your browser to use this application'
235
+ if (gl.getExtension('OES_element_index_uint')) {
236
+ viewerOptions.glOptions.optionalExtensions = ['oes_element_index_uint']
237
237
  }
238
-
239
- viewerOptions.glOptions.optionalExtensions = ['oes_element_index_uint']
240
238
  }
241
239
  return { viewerOptions, camera, error }
242
240
  }