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
path: root/intern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-09-28 10:46:12 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-09-28 10:46:12 +0300
commit81f68bbba1951595f0569af18d052a9b45681434 (patch)
tree2254ba1a85a5fb361ca3ac0b822c3fda236e7112 /intern
parentbd267b0332d900fe5e9c6248abe158e00598f24d (diff)
Fix compilation errors and warnings with Clang-6
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/render/camera.cpp2
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