@kitware/vtk.js 30.9.1 → 30.9.2

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.
@@ -326,7 +326,7 @@ function vtkOpenGLCellArrayBufferObject(publicAPI, model) {
326
326
  // Browse the cell array: the index is at the beginning of a cell
327
327
  // The value of 'array' at the position 'index' is the number of points in the cell
328
328
  for (let index = 0; index < size; index += array[index] + 1, cellCount++) {
329
- func(array[index], array, index + 1, cellCount);
329
+ func(array[index], array, index + 1, cellCount + options.cellOffset);
330
330
  }
331
331
  model.elementCount = caboCount;
332
332
  publicAPI.upload(packedVBO, ObjectType.ARRAY_BUFFER);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitware/vtk.js",
3
- "version": "30.9.1",
3
+ "version": "30.9.2",
4
4
  "description": "Visualization Toolkit for the Web",
5
5
  "keywords": [
6
6
  "3d",