From ed320bcbe448ddab499fa383da34428f5819be5c Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Thu, 30 May 2019 12:02:56 +0200 Subject: [PATCH] BUG: scalarBar range ignored in runTimePostProcessing - was missing range setting for the colour lookup table --- .../graphics/runTimePostProcessing/fieldVisualisationBase.C | 1 + 1 file changed, 1 insertion(+) diff --git a/src/functionObjects/graphics/runTimePostProcessing/fieldVisualisationBase.C b/src/functionObjects/graphics/runTimePostProcessing/fieldVisualisationBase.C index 7d76795a1e..c6083a1c43 100644 --- a/src/functionObjects/graphics/runTimePostProcessing/fieldVisualisationBase.C +++ b/src/functionObjects/graphics/runTimePostProcessing/fieldVisualisationBase.C @@ -270,6 +270,7 @@ setField auto lut = vtkSmartPointer::New(); setColourMap(lut); lut->SetVectorMode(vtkScalarsToColors::MAGNITUDE); + lut->SetTableRange(range_.first(), range_.second()); // Configure the mapper const char* fieldName = colourFieldName.c_str();