@kitware/vtk.js 22.5.8 → 22.5.9

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.
@@ -224,7 +224,11 @@ function vtkColorTransferFunction(publicAPI, model) {
224
224
  var before = JSON.stringify(model.nodes);
225
225
  model.nodes = nodes;
226
226
  var after = JSON.stringify(model.nodes);
227
- return publicAPI.sortAndUpdateRange() || before !== after;
227
+
228
+ if (publicAPI.sortAndUpdateRange() || before !== after) {
229
+ publicAPI.modified();
230
+ return true;
231
+ }
228
232
  }
229
233
 
230
234
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitware/vtk.js",
3
- "version": "22.5.8",
3
+ "version": "22.5.9",
4
4
  "description": "Visualization Toolkit for the Web",
5
5
  "keywords": [
6
6
  "3d",