mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 01:58:35 +05:00
in getCellType(), return VTK_POLYHEDRON instead of VTK_CONVEX_POINT_SET
This commit is contained in:
parent
4903340a61
commit
69b571614d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user