diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-28 10:46:12 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-28 10:46:12 +0300 |
commit | 81f68bbba1951595f0569af18d052a9b45681434 (patch) | |
tree | 2254ba1a85a5fb361ca3ac0b822c3fda236e7112 /intern | |
parent | bd267b0332d900fe5e9c6248abe158e00598f24d (diff) |
Fix compilation errors and warnings with Clang-6
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/render/camera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/camera.cpp b/intern/cycles/render/camera.cpp index ec3c56e820a..34066e1b024 100644 --- a/intern/cycles/render/camera.cpp +++ b/intern/cycles/render/camera.cpp @@ -716,7 +716,7 @@ float Camera::world_to_raster_size(float3 P) float3 D = transform_point(&worldtocamera, P); float dist = len(D); - Ray ray = {0}; + Ray ray = {{0}}; /* Distortion can become so great that the results become meaningless, there * may be a better way to do this, but calculating differentials from the |