From: eap Date: Fri, 11 Feb 2011 15:20:50 +0000 (+0000) Subject: in getCellType(), return VTK_POLYHEDRON instead of VTK_CONVEX_POINT_SET X-Git-Tag: StartingPortingMED3~59 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=69b571614d21fe1cb016776de6944c5c86d6fa6b;p=modules%2Fsmesh.git in getCellType(), return VTK_POLYHEDRON instead of VTK_CONVEX_POINT_SET --- diff --git a/src/OBJECT/SMESH_Object.cxx b/src/OBJECT/SMESH_Object.cxx index d56902d39..6e44e059d 100644 --- a/src/OBJECT/SMESH_Object.cxx +++ b/src/OBJECT/SMESH_Object.cxx @@ -104,7 +104,7 @@ static inline vtkIdType getCellType( const SMDSAbs_ElementType theType, else return VTK_EMPTY_CELL; case SMDSAbs_Volume: - if (thePoly && theNbNodes>3 ) return VTK_CONVEX_POINT_SET; + if (thePoly && theNbNodes>3 ) return VTK_POLYHEDRON; //VTK_CONVEX_POINT_SET; else if ( theNbNodes == 4 ) return VTK_TETRA; else if ( theNbNodes == 5 ) return VTK_PYRAMID; else if ( theNbNodes == 6 ) return VTK_WEDGE;