From: rnv Date: Mon, 14 Mar 2016 07:17:09 +0000 (+0300) Subject: Revert one change: set empty color array name and 'None' entity. X-Git-Tag: V8_1_0a1~26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=57e528b528a8ae8a77e11c9fdc9ebb39e8f121bd;p=modules%2Fparavis.git Revert one change: set empty color array name and 'None' entity. --- diff --git a/src/PV_SWIG/presentations.py b/src/PV_SWIG/presentations.py index 736ecc35..881593b5 100644 --- a/src/PV_SWIG/presentations.py +++ b/src/PV_SWIG/presentations.py @@ -2544,7 +2544,7 @@ def MeshOnEntity(proxy, mesh_name, entity): proxy.GetDataInformation().GetNumberOfCells()): my_view = pvs.GetRenderView() prs = pvs.GetRepresentation(proxy, view=my_view) - pvs.ColorBy(prs, (EntityType.get_pvtype(entity), None)) + prs.ColorArrayName = (None, '') return prs