Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2022-02-04 21:08:29 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-02-04 22:27:49 +0300
commita5be9359665026a5d558e5f29db349c6df0585dc (patch)
tree25fc6a10ff3505b7f2fdbc5544b4e6c4756041ec /intern
parent260e6fd46b6684a7f52a02073ce567003fc52045 (diff)
Fix uninitialized value in Cycles BVH after recent changes
Found by asan, unknown if it actually caused an issue.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/bvh/params.h1
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;