From a7c507c003f2b19d468eb26d3f8a210d9615deff Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 1 Apr 2005 11:23:40 +0000 Subject: [PATCH] fix PAL8330. Orient volumes as for MED --- src/GHS3DPlugin_GHS3D.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GHS3DPlugin_GHS3D.cxx b/src/GHS3DPlugin_GHS3D.cxx index c2bf727..e14f52b 100644 --- a/src/GHS3DPlugin_GHS3D.cxx +++ b/src/GHS3DPlugin_GHS3D.cxx @@ -298,8 +298,8 @@ static bool readResult(FILE * theFile, node[ iNode ] = (*IdNode).second; } } - // create a tetrahedron - SMDS_MeshElement* aTet = theMesh->AddVolume( node[0], node[1], node[2], node[3] ); + // create a tetrahedron with orientation as for MED + SMDS_MeshElement* aTet = theMesh->AddVolume( node[1], node[0], node[2], node[3] ); theMesh->SetMeshElementOnShape( aTet, theShape ); } -- 2.39.2