diff options
Diffstat (limited to 'intern/cycles/bvh/bvh_build.cpp')
-rw-r--r-- | intern/cycles/bvh/bvh_build.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/bvh/bvh_build.cpp b/intern/cycles/bvh/bvh_build.cpp index ec85cef0851..048c2b95e40 100644 --- a/intern/cycles/bvh/bvh_build.cpp +++ b/intern/cycles/bvh/bvh_build.cpp @@ -360,7 +360,7 @@ void BVHBuild::add_references(BVHRange &root) /* happens mostly on empty meshes */ if (!bounds.valid()) - bounds.grow(make_float3(0.0f, 0.0f, 0.0f)); + bounds.grow(zero_float3()); root = BVHRange(bounds, center, 0, references.size()); } |