mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0031425: Visualization - free Edge has selection sensitivity inconsistent to presentation
BRepTools::Triangulation() has been extended with a new parameter for checking Poly_Polygon3D presense within free Edges. StdPrs_WFShape::Add() now performs auto-triangulation in the same way as StdPrs_ShadedShape::Add(). StdSelect_BRepSelectionTool::GetEdgeSensitive() now creates Select3D_SensitiveSegment instead of Select3D_SensitiveCurve for tessellated segment. Select3D_SensitiveSegment default sensitivity factor has been changed to 3 pixels to match Select3D_SensitiveCurve. Test case bug23625_1, added workaround for out-of-range crash in HLRBRep_PolyAlgo on re-triangulated shape.
This commit is contained in:
@@ -31,6 +31,7 @@ Select3D_SensitiveSegment::Select3D_SensitiveSegment (const Handle(SelectMgr_Ent
|
||||
const gp_Pnt& theLastPnt)
|
||||
: Select3D_SensitiveEntity (theOwnerId)
|
||||
{
|
||||
mySFactor = 3;
|
||||
myStart = theFirstPnt;
|
||||
myEnd = theLastPnt;
|
||||
}
|
||||
|
Reference in New Issue
Block a user