diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-28 20:47:38 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-28 20:47:38 +0200 |
commit | d9b251c95c0cb49f3634a5edc087117c4b91ab3a (patch) | |
tree | eb8a050fdaf0a0a9a4644e0a06c36315382cb801 /core/math | |
parent | a9591f30395643b98f9620b8d68a76f74d00b9cf (diff) | |
parent | d7c6993f5892c2913da2dfa8669dda099caf7068 (diff) |
Merge pull request #66544 from lawnjelly/bvh_tree_sibling_warning
Fix false flag compiler warning in bvh tree
Diffstat (limited to 'core/math')
-rw-r--r-- | core/math/bvh_tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/bvh_tree.h b/core/math/bvh_tree.h index cdb2bb4413..8291394b31 100644 --- a/core/math/bvh_tree.h +++ b/core/math/bvh_tree.h @@ -235,7 +235,7 @@ private: // no need to keep back references for children at the moment - uint32_t sibling_id; // always a node id, as tnode is never a leaf + uint32_t sibling_id = 0; // always a node id, as tnode is never a leaf bool sibling_present = false; // if there are more children, or this is the root node, don't try and delete |