]> OCCT Git - occt.git/commit
0028101: Visualization, Select3D_SensitiveSet - fix NULL dereference on re-adding...
authorkgv <kgv@opencascade.com>
Thu, 17 Nov 2016 12:51:44 +0000 (15:51 +0300)
committerapn <apn@opencascade.com>
Thu, 17 Nov 2016 15:49:37 +0000 (18:49 +0300)
commit8511408796f05613fd74e190989a86b5f2ee175a
tree3aa40c66bec762321fcb1c65551d69ce04df49f9
parentc894a5fdfcfb99fad02a36431839aacf514ad679
0028101: Visualization, Select3D_SensitiveSet - fix NULL dereference on re-adding the same sensitivity

Select3D_SensitiveSet now stores BVH_PrimitiveSet as class field (no dynamic allocation),
and BVH_PrimitiveSet subclass now stores raw pointer to Select3D_SensitiveSet (no smart pointer).

Select3D_BVHPrimitiveContent definition has been moved into Select3D_SensitiveSet
class definition to avoid confusion.

Unused field Select3D_SensitiveSet::myIsLeftChildQueuedFirst has been removed.
src/Select3D/FILES
src/Select3D/Select3D_BVHPrimitiveContent.cxx [deleted file]
src/Select3D/Select3D_BVHPrimitiveContent.hxx [deleted file]
src/Select3D/Select3D_SensitiveSet.cxx
src/Select3D/Select3D_SensitiveSet.hxx