[Bf-blender-cvs] [088c6a17ba] master: Cycles: Fix missing initialization of triangle BVH steps
Sergey Sharybin
noreply at git.blender.org
Wed Feb 15 13:04:04 CET 2017
Commit: 088c6a17bafff54a0f94d47ff623581a511bda85
Author: Sergey Sharybin
Date: Wed Feb 15 10:44:34 2017 +0100
Branches: master
https://developer.blender.org/rB088c6a17bafff54a0f94d47ff623581a511bda85
Cycles: Fix missing initialization of triangle BVH steps
Likely was harmless for Blender, but better be safe here.
===================================================================
M intern/cycles/bvh/bvh_params.h
===================================================================
diff --git a/intern/cycles/bvh/bvh_params.h b/intern/cycles/bvh/bvh_params.h
index 65f9da1c19..7b30950472 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 */
More information about the Bf-blender-cvs
mailing list