From: vtn Date: Mon, 4 Mar 2013 13:44:43 +0000 (+0000) Subject: Porting to Paraview 3.98.1 X-Git-Tag: V7_1_0b1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=45b569befd7a5906c17c7a8a42979606e9832b84;p=modules%2Fparavis.git Porting to Paraview 3.98.1 --- diff --git a/src/PV_SWIG/presentations.py b/src/PV_SWIG/presentations.py index d5ead463..f2b39558 100644 --- a/src/PV_SWIG/presentations.py +++ b/src/PV_SWIG/presentations.py @@ -673,9 +673,9 @@ def get_calc_magnitude(proxy, array_entity, array_name): nb_components = get_nb_components(proxy, array_entity, array_name) if (nb_components > 1): calculator = pv.Calculator(proxy) - attribute_mode = "point_data" + attribute_mode = "Point Data" if array_entity != EntityType.NODE: - attribute_mode = "cell_data" + attribute_mode = "Cell Data" calculator.AttributeMode = attribute_mode if (nb_components == 2): # Workaroud: calculator unable to compute magnitude