diff --git a/intern/cycles/bvh/bvh_split.h b/intern/cycles/bvh/bvh_split.h index 948aaa23909..aea8b2565e0 100644 --- a/intern/cycles/bvh/bvh_split.h +++ b/intern/cycles/bvh/bvh_split.h @@ -61,7 +61,11 @@ public: int dim; float pos; - BVHSpatialSplit() : sah(FLT_MAX), dim(0), pos(0.0f) {} + BVHSpatialSplit() : sah(FLT_MAX), + dim(0), + pos(0.0f), + storage_(NULL), + references_(NULL) {} BVHSpatialSplit(const BVHBuild& builder, BVHSpatialStorage *storage, const BVHRange& range,