From 5cd89bd9817f1637f1df58271b2ac68eebf85266 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20M=C3=B6ller?= Date: Thu, 22 Oct 2015 15:12:13 +0200 Subject: [PATCH] fixup --- .../include/CGAL/internal/AABB_tree/AABB_ray_intersection.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AABB_tree/include/CGAL/internal/AABB_tree/AABB_ray_intersection.h b/AABB_tree/include/CGAL/internal/AABB_tree/AABB_ray_intersection.h index 0de5ed8ef4c..064c18af370 100644 --- a/AABB_tree/include/CGAL/internal/AABB_tree/AABB_ray_intersection.h +++ b/AABB_tree/include/CGAL/internal/AABB_tree/AABB_ray_intersection.h @@ -54,6 +54,8 @@ public: dist = intersection_distance_object(query, child->bbox()); if(dist) pq.push(Node_ptr_with_ft(child, *dist, current.nb_primitives - current.nb_primitives/2)); + + break; } } }