Skip to content

Commit

Permalink
Fix: function name change in VTK component
Browse files Browse the repository at this point in the history
  • Loading branch information
aseeland committed Sep 12, 2023
1 parent f6c8267 commit fafe14e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ export default {
const dataArray = this.source[`get${location}`]().getArrayByName(colorByArrayName);
const newDataRange = dataArray.getRange();
// console.log(newDataRange);
this.dataRange[0] = newDataRange.getRangeAt(0);
this.dataRange[1] = newDataRange.getRangeAt(1);
this.dataRange[0] = newDataRange.at(0);
this.dataRange[1] = newDataRange.at(1);
colorMode = ColorMode.MAP_SCALARS;
scalarMode = location === 'PointData'
? ScalarMode.USE_POINT_FIELD_DATA
Expand Down

0 comments on commit fafe14e

Please sign in to comment.