From 57e528b528a8ae8a77e11c9fdc9ebb39e8f121bd Mon Sep 17 00:00:00 2001 From: rnv Date: Mon, 14 Mar 2016 10:17:09 +0300 Subject: [PATCH] Revert one change: set empty color array name and 'None' entity. --- src/PV_SWIG/presentations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2