From dc4d23a3a11116f76863b1aa9a9b38e970fcec5d Mon Sep 17 00:00:00 2001 From: Euan Hughes Date: Fri, 6 Nov 2026 16:42:30 -0500 Subject: [PATCH] [kdtree] Fixing KDTree::m_bounds being uninitialized until the tree is built Signed-off-by: Euan Hughes --- openpgl/spatial/kdtree/KDTree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpgl/spatial/kdtree/KDTree.h b/openpgl/spatial/kdtree/KDTree.h index 77a50217..9c70be44 100644 --- a/openpgl/spatial/kdtree/KDTree.h +++ b/openpgl/spatial/kdtree/KDTree.h @@ -704,7 +704,7 @@ struct KDTree bool m_isInit{false}; // bounds of the spatial region covered by the KDTree - BBox m_bounds; + BBox m_bounds{embree::empty}; // node storage used during build tbb::concurrent_vector m_nodes;