STYLE: use dictionary checking methods in runTimePostProcessing

- make parallelProjection default (was previously mandatory)
This commit is contained in:
Mark Olesen
2019-05-31 15:28:57 +02:00
committed by Andrew Heather
parent 7e29e165d7
commit 3de7cd5207
8 changed files with 37 additions and 41 deletions

View File

@ -742,7 +742,7 @@ fieldVisualisationBase
:
colours_(colours),
fieldName_(dict.get<word>("field")),
smooth_(dict.lookupOrDefault("smooth", false)),
smooth_(dict.getOrDefault("smooth", false)),
colourBy_(cbColour),
colourMap_(cmRainbow),
range_(),