mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-01 20:30:35 +05:00
+ // PAL16857(SMESH not conform to the MED convention):
+ if ( aMeshDimension == 2 && anIsZDimension ) // 2D only if mesh is in XOY plane + aMeshDimension = 3;
This commit is contained in:
parent
17429a9441
commit
a97aac6c22
@ -262,6 +262,9 @@ Driver_Mesh::Status DriverMED_W_SMESHDS_Mesh::Perform()
|
|||||||
aMeshDimension = anIsXDimension + anIsYDimension + anIsZDimension;
|
aMeshDimension = anIsXDimension + anIsYDimension + anIsZDimension;
|
||||||
if(!aMeshDimension)
|
if(!aMeshDimension)
|
||||||
aMeshDimension = 3;
|
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();
|
SMDS_NodeIteratorPtr aNodesIter = myMesh->nodesIterator();
|
||||||
|
Loading…
Reference in New Issue
Block a user