From: Mathieu Westphal Date: Fri, 7 Oct 2016 12:39:25 +0000 (+0200) Subject: Correcting testMEDReader20 and baseline X-Git-Tag: V8_2_0a1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0bf9fea22904ebe22b3c4ef1acffb262d9a85265;p=modules%2Fparavis.git Correcting testMEDReader20 and baseline --- diff --git a/src/Plugins/MEDReader/Test/Baselines/testMEDReader20.png b/src/Plugins/MEDReader/Test/Baselines/testMEDReader20.png index c27a45f9..f84b3a27 100644 Binary files a/src/Plugins/MEDReader/Test/Baselines/testMEDReader20.png and b/src/Plugins/MEDReader/Test/Baselines/testMEDReader20.png differ diff --git a/src/Plugins/MEDReader/Test/testMEDReader20.py b/src/Plugins/MEDReader/Test/testMEDReader20.py index 192b8b56..46ded62f 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader20.py +++ b/src/Plugins/MEDReader/Test/testMEDReader20.py @@ -94,18 +94,6 @@ renderView1.InteractionMode = '2D' renderView1.CameraPosition = [5.0, 0.5, 10000.0] renderView1.CameraFocalPoint = [5.0, 0.5, 0.0] -# set scalar coloring -ColorBy(testMEDReader20medDisplay, ('FIELD', 'vtkBlockColors')) - -# show color bar/color legend -testMEDReader20medDisplay.SetScalarBarVisibility(renderView1, True) - -# get color transfer function/color map for 'vtkBlockColors' -vtkBlockColorsLUT = GetColorTransferFunction('vtkBlockColors') - -# get opacity transfer function/opacity map for 'vtkBlockColors' -vtkBlockColorsPWF = GetOpacityTransferFunction('vtkBlockColors') - # set scalar coloring ColorBy(testMEDReader20medDisplay, ('CELLS', 'Field'))