From 088c6a17bafff54a0f94d47ff623581a511bda85 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 15 Feb 2017 10:44:34 +0100 Subject: Cycles: Fix missing initialization of triangle BVH steps Likely was harmless for Blender, but better be safe here. --- intern/cycles/bvh/bvh_params.h | 1 + 1 file changed, 1 insertion(+) (limited to 'intern/cycles/bvh') diff --git a/intern/cycles/bvh/bvh_params.h b/intern/cycles/bvh/bvh_params.h index 65f9da1c194..7b309504728 100644 --- a/intern/cycles/bvh/bvh_params.h +++ b/intern/cycles/bvh/bvh_params.h @@ -104,6 +104,7 @@ public: primitive_mask = PRIMITIVE_ALL; num_motion_curve_steps = 0; + num_motion_triangle_steps = 0; } /* SAH costs */ -- cgit v1.2.3