mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0027891: Visualization - FPE due to use of DBL_MAX in SelectMgr_SelectingVolumeManager::DetectedPoint()
This commit is contained in:
@@ -64,6 +64,11 @@ namespace {
|
||||
const gp_GTrsf& theInversedTrsf,
|
||||
SelectMgr_SelectingVolumeManager& theMgr)
|
||||
{
|
||||
if (theMgr.GetActiveSelectionType() != SelectMgr_SelectingVolumeManager::Point)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
theCriterion.Point = theMgr.DetectedPoint (theCriterion.Depth);
|
||||
gp_GTrsf anInvTrsf = theInversedTrsf;
|
||||
if (theCriterion.Entity->HasInitLocation())
|
||||
|
Reference in New Issue
Block a user