diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-02-04 21:08:29 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-02-04 22:27:49 +0300 |
commit | a5be9359665026a5d558e5f29db349c6df0585dc (patch) | |
tree | 25fc6a10ff3505b7f2fdbc5544b4e6c4756041ec /intern/cycles/bvh/params.h | |
parent | 260e6fd46b6684a7f52a02073ce567003fc52045 (diff) |
Fix uninitialized value in Cycles BVH after recent changes
Found by asan, unknown if it actually caused an issue.
Diffstat (limited to 'intern/cycles/bvh/params.h')
-rw-r--r-- | intern/cycles/bvh/params.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/bvh/params.h b/intern/cycles/bvh/params.h index 9804c7994ef..61fa5484ce0 100644 --- a/intern/cycles/bvh/params.h +++ b/intern/cycles/bvh/params.h @@ -142,6 +142,7 @@ class BVHParams { top_level = false; bvh_layout = BVH_LAYOUT_BVH2; + use_compact_structure = true; use_unaligned_nodes = false; num_motion_curve_steps = 0; |