Skip to content
Snippets Groups Projects
Commit b9911883 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

BUG: scalarBar range ignored in runTimePostProcessing

- was missing range setting for the colour lookup table
parent 76d1fb01
Branches
Tags
No related merge requests found
......@@ -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();
......
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