Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Development
OpenFOAM-plus
Commits
65d6551f
Commit
65d6551f
authored
May 30, 2019
by
Mark Olesen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG: scalarBar range ignored in runTimePostProcessing
- was missing range setting for the colour lookup table
parent
a6b38dc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/functionObjects/graphics/runTimePostProcessing/fieldVisualisationBase.C
...s/graphics/runTimePostProcessing/fieldVisualisationBase.C
+1
-0
No files found.
src/functionObjects/graphics/runTimePostProcessing/fieldVisualisationBase.C
View file @
65d6551f
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment