From: eap Date: Tue, 11 Sep 2007 06:53:33 +0000 (+0000) Subject: + // PAL16857(SMESH not conform to the MED convention): X-Git-Tag: V4_1_0a1~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a97aac6c22880d970780b663b753302f5049c766;p=modules%2Fsmesh.git + // PAL16857(SMESH not conform to the MED convention): + if ( aMeshDimension == 2 && anIsZDimension ) // 2D only if mesh is in XOY plane + aMeshDimension = 3; --- diff --git a/src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx b/src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx index 1043e5594..cf9381ce9 100644 --- a/src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx +++ b/src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx @@ -262,6 +262,9 @@ Driver_Mesh::Status DriverMED_W_SMESHDS_Mesh::Perform() aMeshDimension = anIsXDimension + anIsYDimension + anIsZDimension; if(!aMeshDimension) aMeshDimension = 3; + // PAL16857(SMESH not conform to the MED convention): + if ( aMeshDimension == 2 && anIsZDimension ) // 2D only if mesh is in XOY plane + aMeshDimension = 3; } SMDS_NodeIteratorPtr aNodesIter = myMesh->nodesIterator();