fix getSubmeshIDForCopiedMesh()

This commit is contained in:
eap 2013-09-18 12:57:26 +00:00
parent 519f45e495
commit 0e557488d2

View File

@ -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() );
}