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

0027891: Visualization - FPE due to use of DBL_MAX in SelectMgr_SelectingVolumeManager::DetectedPoint()

This commit is contained in:
kgv
2016-09-23 15:33:40 +03:00
parent 8e5fb5eabc
commit 949c9b7f28
6 changed files with 14 additions and 6 deletions

View File

@@ -4530,7 +4530,7 @@ static Standard_Integer VState (Draw_Interpretor& theDI,
aName.LeftJustify (20, ' ');
char anInfoStr[512];
Sprintf (anInfoStr,
" Depth: %+.3f Distance: %+.3f Point: %+.3f %+.3f %+.3f",
" Depth: %g Distance: %g Point: %g %g %g",
aPickData.Depth,
aPickData.MinDist,
aPickData.Point.X(), aPickData.Point.Y(), aPickData.Point.Z());