]> SALOME platform Git repositories - modules/smesh.git/commit
Salome HOME
// PAL18941(a saved study with a mesh belong Z is opened and the mesh is...
authoreap <eap@opencascade.com>
Mon, 11 Feb 2008 08:42:12 +0000 (08:42 +0000)
committereap <eap@opencascade.com>
Mon, 11 Feb 2008 08:42:12 +0000 (08:42 +0000)
commit51bffaa32f72836f227a449e4f2d5c68ab8200ed
tree8f6af62e4b58bce23423a0199a5a076dc2063b0e
parentf5d8473f15f6b652943d0cff2ffa7851d037dcfa
     // 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;
+          if ( anIsYDimension ) {
+            aMeshDimension = 2;
+            anIsXDimension = true;
+          } else {
+            aMeshDimension = 3;
+          }
       }
src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx