@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
|
-
|
|
227
|
+
|
|
228
|
+
if (publicAPI.sortAndUpdateRange() || before !== after) {
|
|
229
|
+
publicAPI.modified();
|
|
230
|
+
return true;
|
|
231
|
+
}
|
|
228
232
|
}
|
|
229
233
|
|
|
230
234
|
return false;
|