]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
in getCellType(), return VTK_POLYHEDRON instead of VTK_CONVEX_POINT_SET
authoreap <eap@opencascade.com>
Fri, 11 Feb 2011 15:20:50 +0000 (15:20 +0000)
committereap <eap@opencascade.com>
Fri, 11 Feb 2011 15:20:50 +0000 (15:20 +0000)
src/OBJECT/SMESH_Object.cxx

index d56902d393aeb9e5b749cbf1deab52e14bf2805b..6e44e059defb5ea3af447f879556f1a9d0e3381a 100644 (file)
@@ -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;