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
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-02-15 12:44:34 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-02-15 14:44:52 +0300
commit088c6a17bafff54a0f94d47ff623581a511bda85 (patch)
tree3fcca8e9f1c2233854dab261a5475912b170d870
parent5723aa8c0254f553aa8057006589af434317652f (diff)
Cycles: Fix missing initialization of triangle BVH steps
Likely was harmless for Blender, but better be safe here.
-rw-r--r--intern/cycles/bvh/bvh_params.h1
1 files changed, 1 insertions, 0 deletions
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 */