Commit bc715611 authored by Mark Olesen's avatar Mark Olesen

BUG: scalarBar range ignored in runTimePostProcessing

- was missing range setting for the colour lookup table
parent 85cfbd8b
...@@ -270,6 +270,7 @@ setField ...@@ -270,6 +270,7 @@ setField
auto lut = vtkSmartPointer<vtkLookupTable>::New(); auto lut = vtkSmartPointer<vtkLookupTable>::New();
setColourMap(lut); setColourMap(lut);
lut->SetVectorMode(vtkScalarsToColors::MAGNITUDE); lut->SetVectorMode(vtkScalarsToColors::MAGNITUDE);
lut->SetTableRange(range_.first(), range_.second());
// Configure the mapper // Configure the mapper
const char* fieldName = colourFieldName.c_str(); const char* fieldName = colourFieldName.c_str();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment