diff --git a/src/IntWalk/IntWalk_PWalking.cxx b/src/IntWalk/IntWalk_PWalking.cxx index 41f40d7e46..a655f7706b 100644 --- a/src/IntWalk/IntWalk_PWalking.cxx +++ b/src/IntWalk/IntWalk_PWalking.cxx @@ -1826,8 +1826,8 @@ Standard_Boolean IntWalk_PWalking::ExtendLineInCommonZone(const IntImp_ConstIsop ChoixIso = myIntersectionOn2S.Perform(Param, Rsnld, theChoixIso); if(myIntersectionOn2S.IsEmpty()) { - bStop = !myIntersectionOn2S.IsTangent(); - bOutOfTangentZone = !myIntersectionOn2S.IsTangent(); + bStop = Standard_True;// !myIntersectionOn2S.IsTangent(); + bOutOfTangentZone = Standard_False; // !myIntersectionOn2S.IsTangent(); } else { Standard_Boolean bAddPoint = Standard_True; diff --git a/tests/bugs/modalg_6/bug28535 b/tests/bugs/modalg_6/bug28535 new file mode 100644 index 0000000000..77ccb4f408 --- /dev/null +++ b/tests/bugs/modalg_6/bug28535 @@ -0,0 +1,16 @@ +puts "========" +puts "OCC28535" +puts "========" +puts "" +########################################## +## BOP Fuse reports "ErrorStatus : 11" on two attached faces +########################################## + +restore [locate_data_file bug28535_Face_5.brep] f5 +restore [locate_data_file bug28535_Face_6.brep] f6 + +bfuse result f5 f6 + +checknbshapes result -face 2 -wire 2 -edge 7 + +checkview -display result -2d -path ${imagedir}/${test_image}.png