1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024589: Draw Harness - disable floating-point exceptions by default

OSD::SetSignal() called with Standard_False argument to have FPEs disabled.

Test cased modification:
de step_4 G7 - fixed reference data.
de iges_2 H9 - Fixed reference data. According to input file, there are big tolerance edge and surface, which leads to big tolerance in ref data, result and image has changed due to usage of these shapes instead of omitting them.
de end - changed behavior in case of big isolines, now isolines not break fit command in certain places.

Modeling algorithms:
Fixed 0.0 / 0.0 uncertainty in circle to quasi-angular bspline conversion.

Correction of test cases for issue CR24589
This commit is contained in:
aml
2014-09-25 14:50:42 +04:00
committed by bugmaster
parent d8726c7c6b
commit d538d7a221
7 changed files with 60 additions and 45 deletions

View File

@@ -248,7 +248,7 @@ void Draw_Appli(Standard_Integer argc, char** argv,const FDraw_InitAppli Draw_In
// *****************************************************************
// set signals
// *****************************************************************
OSD::SetSignal();
OSD::SetSignal(Standard_False);
#ifdef _WIN32
// in interactive mode, force Windows to report dll loading problems interactively

View File

@@ -2079,7 +2079,7 @@ static DWORD WINAPI tkLoop(VOID)
#endif //#ifdef _TK
// set signal handler in the new thread
OSD::SetSignal();
OSD::SetSignal(Standard_False);
// inform the others that we have started
isTkLoopStarted = true;