From 69b571614d21fe1cb016776de6944c5c86d6fa6b Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 11 Feb 2011 15:20:50 +0000 Subject: [PATCH] in getCellType(), return VTK_POLYHEDRON instead of VTK_CONVEX_POINT_SET --- src/OBJECT/SMESH_Object.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2