]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Revert one change: set empty color array name and 'None' entity.
authorrnv <rnv@opencascade.com>
Mon, 14 Mar 2016 07:17:09 +0000 (10:17 +0300)
committerrnv <rnv@opencascade.com>
Tue, 15 Mar 2016 13:45:30 +0000 (16:45 +0300)
src/PV_SWIG/presentations.py

index 736ecc3536cccafeddfe49c5655e5fe68ce7546f..881593b52594c04f0fdb5b22df00aade88b2caec 100644 (file)
@@ -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