From: eap Date: Fri, 1 Apr 2005 11:23:40 +0000 (+0000) Subject: fix PAL8330. Orient volumes as for MED X-Git-Tag: T3_0_0_a4~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a7c507c003f2b19d468eb26d3f8a210d9615deff;p=plugins%2Fhybridplugin.git fix PAL8330. Orient volumes as for MED --- 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 ); }