Commit be3efed4 authored by Mark OLESEN's avatar Mark OLESEN Committed by Andrew Heather
Browse files

BUG: scalarBar range ignored in runTimePostProcessing

- was missing range setting for the colour lookup table
parent 4f93bc3b
......@@ -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();
......
Supports Markdown
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