@kitware/vtk.js 24.14.0 → 24.14.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.
|
@@ -198,7 +198,7 @@ function vtkScalarBarActorHelper(publicAPI, model) {
|
|
|
198
198
|
model.camera = camera;
|
|
199
199
|
model.renderWindow = renderWindow; // did something significant change? If so rebuild a lot of things
|
|
200
200
|
|
|
201
|
-
if (model.forceUpdate || Math.max(scalarsToColors.getMTime(), publicAPI.getMTime()) > model.lastRebuildTime.getMTime()) {
|
|
201
|
+
if (model.forceUpdate || Math.max(scalarsToColors.getMTime(), publicAPI.getMTime(), model.renderable.getMTime()) > model.lastRebuildTime.getMTime()) {
|
|
202
202
|
var range = scalarsToColors.getMappingRange();
|
|
203
203
|
model.lastTickBounds = _toConsumableArray(range); // compute tick marks for axes (update for log scale)
|
|
204
204
|
|