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 965f96f + b49db14 commit fd8f1c8Copy full SHA for fd8f1c8
Sources/Interaction/Widgets/PiecewiseGaussianWidget/index.js
@@ -867,7 +867,7 @@ function vtkPiecewiseGaussianWidget(publicAPI, model) {
867
});
868
869
// Draw color function if any
870
- if (model.colorTransferFunction) {
+ if (model.colorTransferFunction && model.colorTransferFunction.getSize()) {
871
const rangeToUse =
872
model.dataRange || model.colorTransferFunction.getMappingRange();
873
if (
0 commit comments