bugfix: use the traits data member otherwise the shared_data cannot be used

This commit is contained in:
Sébastien Loriot 2013-06-27 20:55:16 +02:00
parent 7759780691
commit 9ffa8ac7f8
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ public:
#else
boost::optional< typename AABBTraits::template Intersection_and_primitive_id<Query>::Type >
#endif
intersection = AABBTraits().intersection_object()(query, primitive);
intersection = m_traits.intersection_object()(query, primitive);
if(intersection)
{