Salome HOME
Regression of 0020206: EDF SMESH 987: Netgen1D2D3D +submesh
authoreap <eap@opencascade.com>
Wed, 4 May 2011 14:16:19 +0000 (14:16 +0000)
committereap <eap@opencascade.com>
Wed, 4 May 2011 14:16:19 +0000 (14:16 +0000)
commit248c36ec7a9f41c4333c5a7bb1b38435993cc264
treec4acff91b17715644f9d0fdf1504f0758db2f980
parente06a1de08f257a4cb901f925f591582d21213524
Regression of 0020206: EDF SMESH 987: Netgen1D2D3D +submesh
   in Compute(), fix sorting submeshes according to dim of shape the algo assigned to

           aShapeDim = GetShapeDim( algoShape );
+          if ( algoShape.ShapeType() == TopAbs_COMPOUND )
+          {
+            TopoDS_Iterator it( algoShape );
+            aShapeDim += GetShapeDim( it.Value() );
+          }
src/SMESH/SMESH_Gen.cxx