X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FMeshVS%2FMeshVS_SensitivePolyhedron.cxx;h=447028cb948cc55d5c7c0f8161f7314ec3ae3799;hb=03c9cc86c6674ffb2ba8fd5ce68f5d2dfc34a443;hpb=df23a355c480441fea78470bf5dfad94aacd8add diff --git a/src/MeshVS/MeshVS_SensitivePolyhedron.cxx b/src/MeshVS/MeshVS_SensitivePolyhedron.cxx index d64f322449..447028cb94 100644 --- a/src/MeshVS/MeshVS_SensitivePolyhedron.cxx +++ b/src/MeshVS/MeshVS_SensitivePolyhedron.cxx @@ -86,7 +86,7 @@ Standard_Boolean MeshVS_SensitivePolyhedron::Matches (SelectBasics_SelectingVolu SelectBasics_PickResult aPickResult; for (MeshVS_PolyhedronVertsIter aIter (myTopology); aIter.More(); aIter.Next()) { - if (theMgr.Overlaps (aIter.Value(), Select3D_TOS_INTERIOR, aPickResult)) + if (theMgr.OverlapsPolygon (aIter.Value(), Select3D_TOS_INTERIOR, aPickResult)) { thePickResult = SelectBasics_PickResult::Min (thePickResult, aPickResult); }