@kitware/vtk.js 32.3.1 → 32.3.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.
@@ -30,7 +30,10 @@ const staticOffsetModel = {
30
30
  offset: -2
31
31
  }
32
32
  };
33
- const staticOffsetAPI = {};
33
+ const noOp = () => undefined;
34
+ const staticOffsetAPI = {
35
+ modified: noOp
36
+ };
34
37
  addCoincidentTopologyMethods(staticOffsetAPI, staticOffsetModel, CATEGORIES.map(key => ({
35
38
  key,
36
39
  method: `ResolveCoincidentTopology${key}OffsetParameters`
@@ -61,7 +64,8 @@ function implementCoincidentTopologyMethods(publicAPI, model) {
61
64
  Object.keys(otherStaticMethods).forEach(methodName => {
62
65
  publicAPI[methodName] = otherStaticMethods[methodName];
63
66
  });
64
- Object.keys(staticOffsetAPI).forEach(methodName => {
67
+ Object.keys(staticOffsetAPI).filter(methodName => methodName !== 'modified') // don't override instance's modified
68
+ .forEach(methodName => {
65
69
  publicAPI[methodName] = staticOffsetAPI[methodName];
66
70
  });
67
71
  addCoincidentTopologyMethods(publicAPI, model.topologyOffset, CATEGORIES.map(key => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitware/vtk.js",
3
- "version": "32.3.1",
3
+ "version": "32.3.2",
4
4
  "description": "Visualization Toolkit for the Web",
5
5
  "keywords": [
6
6
  "3d",