mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-05 06:10:33 +05:00
// 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; + } }
This commit is contained in:
parent
a9e813ace3
commit
441f1e7dca
@ -285,7 +285,12 @@ Driver_Mesh::Status DriverMED_W_SMESHDS_Mesh::Perform()
|
|||||||
aMeshDimension = 3;
|
aMeshDimension = 3;
|
||||||
// PAL18941(a saved study with a mesh belong Z is opened and the mesh is belong X)
|
// 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
|
if ( aMeshDimension == 1 && !anIsXDimension ) // 1D only if mesh is along OX
|
||||||
aMeshDimension = 3;
|
if ( anIsYDimension ) {
|
||||||
|
aMeshDimension = 2;
|
||||||
|
anIsXDimension = true;
|
||||||
|
} else {
|
||||||
|
aMeshDimension = 3;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SMDS_NodeIteratorPtr aNodesIter = myMesh->nodesIterator();
|
SMDS_NodeIteratorPtr aNodesIter = myMesh->nodesIterator();
|
||||||
|
Loading…
Reference in New Issue
Block a user