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:41:34 +0000 (08:41 +0000)
committereap <eap@opencascade.com>
Mon, 11 Feb 2008 08:41:34 +0000 (08:41 +0000)
commit441f1e7dcaa99c99bacf491d7b2e8eb28c720dbe
tree104dcf7bea436d1699790746290ca8cdaddc208f
parenta9e813ace32540349bdf8a42af168bde94fb998e
     // 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