From f5d8473f15f6b652943d0cff2ffa7851d037dcfa Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 8 Feb 2008 14:17:09 +0000 Subject: [PATCH] + // PAL18941(a saved study with a mesh belong Z is opened and the mesh is belong X) + if ( aMeshDimension == 1 && !anIsXDimension ) // 1D only if mesh is along OX + aMeshDimension = 3; --- src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx b/src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx index c0315233d..21b1b41c9 100644 --- a/src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx +++ b/src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx @@ -283,6 +283,9 @@ Driver_Mesh::Status DriverMED_W_SMESHDS_Mesh::Perform() // PAL16857(SMESH not conform to the MED convention): if ( aMeshDimension == 2 && anIsZDimension ) // 2D only if mesh is in XOY plane aMeshDimension = 3; + // PAL18941(a saved study with a mesh belong Z is opened and the mesh is belong X) + if ( aMeshDimension == 1 && !anIsXDimension ) // 1D only if mesh is along OX + aMeshDimension = 3; } SMDS_NodeIteratorPtr aNodesIter = myMesh->nodesIterator(); -- 2.39.2