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 committed by Andrew Heather
parent 4f93bc3b5e
commit be3efed44b

View File

@ -515,6 +515,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();