Salome HOME
fix GetSubMesh()
authoreap <eap@opencascade.com>
Thu, 27 Aug 2009 13:58:53 +0000 (13:58 +0000)
committereap <eap@opencascade.com>
Thu, 27 Aug 2009 13:58:53 +0000 (13:58 +0000)
     if ( it.More() )
+    {
       index = _myMeshDS->AddCompoundSubmesh( aSubShape, it.Value().ShapeType() );
+      if ( index > _nbSubShapes ) _nbSubShapes = index; // not to create sm for this group again
+    }
   }


No differences found