X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlugins%2FMEDReader%2FTest%2FtestMEDReader2.py;h=460e8ed71084fe313e481a2aa5ff9b42ab06dd7b;hb=c6ff7f6dfc471ef0fe7ab45e171e05a6335512a9;hp=86074114dd6be181f6bee1c01c7d1836c6eab476;hpb=e4350e9cdbb25c86c1b7caa25182a8c99381ead9;p=modules%2Fparavis.git diff --git a/src/Plugins/MEDReader/Test/testMEDReader2.py b/src/Plugins/MEDReader/Test/testMEDReader2.py index 86074114..460e8ed7 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader2.py +++ b/src/Plugins/MEDReader/Test/testMEDReader2.py @@ -4,7 +4,7 @@ # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either -# version 2.1 of the License. +# version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -94,9 +94,8 @@ a2_ACellField_PVLookupTable=GetLookupTableForArray( "ACellField", 2, RGBPoints=[ a2_ACellField_PiecewiseFunction=CreatePiecewiseFunction( Points=[0.0, 0.0, 0.5, 0.0, 1.0, 1.0, 0.5, 0.0] ) a2_ACellField_PVLookupTable.ScalarOpacityFunction = a2_ACellField_PiecewiseFunction DataRepresentation5.ScalarOpacityFunction = a2_ACellField_PiecewiseFunction -DataRepresentation5.ColorArrayName = 'ACellField' DataRepresentation5.LookupTable = a2_ACellField_PVLookupTable -DataRepresentation5.ColorAttributeType = 'CELL_DATA' +DataRepresentation5.ColorArrayName = ("CELLS", "ACellField") RenderView1 = GetRenderView() RenderView1.CenterOfRotation = [3.0, 3.0, 3.0]