]> OCCT Git - occt.git/commit
0026146: Visualization, Select3D_ISensitivePointSet - eliminate crash when clearing...
authorabv <abv@opencascade.com>
Thu, 7 May 2015 05:53:38 +0000 (08:53 +0300)
committerabv <abv@opencascade.com>
Fri, 8 May 2015 05:54:28 +0000 (08:54 +0300)
commitbf3977c9f92be2172130cec3b9885dad60dd559d
tree08778a28ae0ed8c846a876a2065b0691669d0648
parent2157d6ac6378bc7d9898aa5c1e8e85a9fe62ab80
0026146: Visualization, Select3D_ISensitivePointSet - eliminate crash when clearing selections [only with TBB]

Remove classes Select3D_ISensitivePointSet and Select3D_BoundarySensitivePointSet; use Select3D_SensitivePoly directly for boundary selection.
Make last argument in Select3D_SensitiveFace non-default to ensure that value is always explicitly specified by the caller.
Inherit SelectMgr_FrustumBuilder from Standard_Transient to use normal Handle instead of NCollection_Handle.

Add test case bugs/vis/bug26146.
18 files changed:
src/AIS/AIS_PlaneTrihedron.cxx
src/AIS/AIS_Trihedron.cxx
src/MeshVS/MeshVS_Mesh.cxx
src/Select3D/FILES
src/Select3D/Select3D.cdl
src/Select3D/Select3D_BoundarySensitivePointSet.cxx [deleted file]
src/Select3D/Select3D_BoundarySensitivePointSet.hxx [deleted file]
src/Select3D/Select3D_ISensitivePointSet.hxx [deleted file]
src/Select3D/Select3D_InteriorSensitivePointSet.cxx
src/Select3D/Select3D_InteriorSensitivePointSet.hxx
src/Select3D/Select3D_SensitiveFace.cxx
src/Select3D/Select3D_SensitiveFace.hxx
src/SelectMgr/SelectMgr_BaseFrustum.cxx
src/SelectMgr/SelectMgr_BaseFrustum.hxx
src/SelectMgr/SelectMgr_Frustum.hxx
src/SelectMgr/SelectMgr_FrustumBuilder.cxx
src/SelectMgr/SelectMgr_FrustumBuilder.hxx
tests/bugs/vis/bug26146 [new file with mode: 0644]