diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-06 21:11:18 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-06 21:11:18 +0300 |
commit | 3733c52985878b8d3ae5911f415ab9328966d48f (patch) | |
tree | 4e4c665f808dd106bf54c2fa006ec00ba067f532 /intern/cycles/render | |
parent | 90ea5c543aa7e091ae21aac6b8d87c97c3aa0464 (diff) | |
parent | a5bb40170417acede168291eb81e3076a6cee077 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'intern/cycles/render')
-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 cc3dd1c923b..ec3c56e820a 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; + 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 |