Salome HOME
Fix for the "0022345: EDF 2754 SMESH: Select pyramids in Mesh Information" issue.
authorrnv <rnv@opencascade.com>
Tue, 5 Nov 2013 11:26:07 +0000 (11:26 +0000)
committerrnv <rnv@opencascade.com>
Tue, 5 Nov 2013 11:26:07 +0000 (11:26 +0000)
src/OBJECT/SMESH_Actor.cxx

index 715f70791eec39d47547b470b71112c86ef42768..4ef6a5ceb4ead5fc32e73dbd93bea66a6a0aff19 100644 (file)
@@ -1590,6 +1590,7 @@ void SMESH_ActorDef::SetEntityMode(unsigned int theMode)
     aFilter->RegisterCellsWithType(VTK_QUADRATIC_TETRA);
     aFilter->RegisterCellsWithType(VTK_QUADRATIC_HEXAHEDRON);
     aFilter->RegisterCellsWithType(VTK_TRIQUADRATIC_HEXAHEDRON);
     aFilter->RegisterCellsWithType(VTK_QUADRATIC_TETRA);
     aFilter->RegisterCellsWithType(VTK_QUADRATIC_HEXAHEDRON);
     aFilter->RegisterCellsWithType(VTK_TRIQUADRATIC_HEXAHEDRON);
+    aFilter->RegisterCellsWithType(VTK_QUADRATIC_PYRAMID);
     aFilter->RegisterCellsWithType(VTK_QUADRATIC_WEDGE);
     aFilter->RegisterCellsWithType(VTK_CONVEX_POINT_SET);
 //#ifdef VTK_HAVE_POLYHEDRON
     aFilter->RegisterCellsWithType(VTK_QUADRATIC_WEDGE);
     aFilter->RegisterCellsWithType(VTK_CONVEX_POINT_SET);
 //#ifdef VTK_HAVE_POLYHEDRON