X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlugins%2FMEDReader%2FTest%2FtestMEDReader2.py;h=e33e495471acfbbff92f79fd1be038f3da8972ab;hb=38700ef6e95fe8e0812fd1e0c63844022889ed64;hp=bc3e24c51ecfdeba0fd0b2ed1016a693d1c9e449;hpb=ee690f177c97c5f6093551b09c3cb8ac4a3020d1;p=modules%2Fparavis.git diff --git a/src/Plugins/MEDReader/Test/testMEDReader2.py b/src/Plugins/MEDReader/Test/testMEDReader2.py index bc3e24c5..e33e4954 100644 --- a/src/Plugins/MEDReader/Test/testMEDReader2.py +++ b/src/Plugins/MEDReader/Test/testMEDReader2.py @@ -1,5 +1,5 @@ # -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2014 CEA/DEN, EDF R&D +# Copyright (C) 2007-2015 CEA/DEN, EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -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]