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:
@@ -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
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user