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