We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6c8267 commit fafe14eCopy full SHA for fafe14e
viplab-standalone-frontend-vue/src/components/vtk-plots/VtkComponent.vue
@@ -220,8 +220,8 @@ export default {
220
const dataArray = this.source[`get${location}`]().getArrayByName(colorByArrayName);
221
const newDataRange = dataArray.getRange();
222
// console.log(newDataRange);
223
- this.dataRange[0] = newDataRange.getRangeAt(0);
224
- this.dataRange[1] = newDataRange.getRangeAt(1);
+ this.dataRange[0] = newDataRange.at(0);
+ this.dataRange[1] = newDataRange.at(1);
225
colorMode = ColorMode.MAP_SCALARS;
226
scalarMode = location === 'PointData'
227
? ScalarMode.USE_POINT_FIELD_DATA
0 commit comments