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.
2 parents e04846a + 9b2b807 commit bd351edCopy full SHA for bd351ed
src/core/SliceRepresentation.js
@@ -195,7 +195,7 @@ export default class SliceRepresentation extends Component {
195
if (this.props.colorDataRange === 'auto') {
196
this.mapper.update();
197
const input = this.mapper.getInputData();
198
- const array = input && input.getPointData().getScalars();
+ const array = input && input.getPointData()?.getScalars();
199
const dataRange = array && array.getRange();
200
if (dataRange) {
201
this.lookupTable.setMappingRange(...dataRange);
0 commit comments