]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug GVIEW10709
authorapo <apo@opencascade.com>
Wed, 14 Dec 2005 10:08:35 +0000 (10:08 +0000)
committerapo <apo@opencascade.com>
Wed, 14 Dec 2005 10:08:35 +0000 (10:08 +0000)
   wrong presentation of quadratic mesh elements
(a small file (arche.resu.tetra.med) with a few well connected tetras that dos not show well either on wireframe or surface representation)

src/CONVERTOR/VISU_Convertor_impl.cxx

index e104ce31ac6ce11dbf3bb36bfdd514868b77b75b..195714aedfbefae3c7549dabba265c0d070b2094 100644 (file)
@@ -941,7 +941,7 @@ namespace VISU
 
     case VISU::eTETRA10: 
 #if defined(VTK_QUADRATIC_TETRA) && defined(VISU_USE_VTK_QUADRATIC)
-      return VTK_QUADRATIC_QUAD;
+      return VTK_QUADRATIC_TETRA;
 #else
       return VTK_CONVEX_POINT_SET;
 #endif