Skip to content

Commit fafe14e

Browse files
committed
Fix: function name change in VTK component
1 parent f6c8267 commit fafe14e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

viplab-standalone-frontend-vue/src/components/vtk-plots/VtkComponent.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ export default {
220220
const dataArray = this.source[`get${location}`]().getArrayByName(colorByArrayName);
221221
const newDataRange = dataArray.getRange();
222222
// console.log(newDataRange);
223-
this.dataRange[0] = newDataRange.getRangeAt(0);
224-
this.dataRange[1] = newDataRange.getRangeAt(1);
223+
this.dataRange[0] = newDataRange.at(0);
224+
this.dataRange[1] = newDataRange.at(1);
225225
colorMode = ColorMode.MAP_SCALARS;
226226
scalarMode = location === 'PointData'
227227
? ScalarMode.USE_POINT_FIELD_DATA

0 commit comments

Comments
 (0)