BUG: scalarBar range ignored in runTimePostProcessing

- was missing range setting for the colour lookup table
This commit is contained in:
Mark Olesen
2019-05-30 12:02:56 +02:00
parent 76d1fb0118
commit b991188329

View File

@ -270,6 +270,7 @@ setField
auto lut = vtkSmartPointer<vtkLookupTable>::New();
setColourMap(lut);
lut->SetVectorMode(vtkScalarsToColors::MAGNITUDE);
lut->SetTableRange(range_.first(), range_.second());
// Configure the mapper
const char* fieldName = colourFieldName.c_str();