Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4903340
)
in getCellType(), return VTK_POLYHEDRON instead of VTK_CONVEX_POINT_SET
author
eap
<eap@opencascade.com>
Fri, 11 Feb 2011 15:20:50 +0000
(15:20 +0000)
committer
eap
<eap@opencascade.com>
Fri, 11 Feb 2011 15:20:50 +0000
(15:20 +0000)
src/OBJECT/SMESH_Object.cxx
patch
|
blob
|
history
diff --git
a/src/OBJECT/SMESH_Object.cxx
b/src/OBJECT/SMESH_Object.cxx
index d56902d393aeb9e5b749cbf1deab52e14bf2805b..6e44e059defb5ea3af447f879556f1a9d0e3381a 100644
(file)
--- 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;