diff options
Diffstat (limited to 'core/math/bvh_refit.inc')
-rw-r--r-- | core/math/bvh_refit.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/bvh_refit.inc b/core/math/bvh_refit.inc index 717a3438c7..b20b805bb0 100644 --- a/core/math/bvh_refit.inc +++ b/core/math/bvh_refit.inc @@ -134,7 +134,7 @@ void refit_branch(uint32_t p_node_id) { TLeaf &leaf = _node_get_leaf(tnode); if (leaf.is_dirty()) { leaf.set_dirty(false); - refit_upward(p_node_id); + refit_upward(rp.node_id); } } } // while more nodes to pop |