{
try
{
+ OCC_CATCH_SIGNALS
// get a wire theShape
TopExp_Explorer aWireExp( theShape, TopAbs_WIRE );
if ( !aWireExp.More() ) {
if (SS.IsNull()) {
break;
}
- if (SS == mySurface) {
+ if ((SS == mySurface) && (L.IsEqual(myLocation))) {
break;
}
SS.Nullify();