mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-25 00:50:32 +05:00
fix getSubmeshIDForCopiedMesh()
This commit is contained in:
parent
519f45e495
commit
0e557488d2
@ -569,7 +569,8 @@ namespace // INTERNAL STUFF
|
||||
aBuilder.MakeCompound( comp );
|
||||
shapeForSrcMesh = comp;
|
||||
for ( int iSub = 0; iSub < nbSubShapes; ++iSub )
|
||||
aBuilder.Add( comp, pseudoSubShapes( subIndex+iSub ));
|
||||
if ( subIndex+iSub <= pseudoSubShapes.Extent() )
|
||||
aBuilder.Add( comp, pseudoSubShapes( subIndex+iSub ));
|
||||
TopExp_Explorer vExp( tgtMeshDS->ShapeToMesh(), TopAbs_VERTEX );
|
||||
aBuilder.Add( comp, vExp.Current() );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user