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
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-04-04 21:06:22 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-04-04 22:22:31 +0300
commitb2e2db94bdae25b4505df563ae9e56a37d89cb7a (patch)
treee454893e7bc7215de93262f7bb9bad9b62ca7908 /intern/cycles/render/camera.h
parent59d0582a750cf61c98368dc66277e788dcf6f502 (diff)
Fix T60379: Cycles viewport adaptive subdivision hangs after updates.
The camera world to raster computation was using wrong values. Also fixes update when changing subdivision scene settings.
Diffstat (limited to 'intern/cycles/render/camera.h')
-rw-r--r--intern/cycles/render/camera.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/render/camera.h b/intern/cycles/render/camera.h
index 37f5dea624f..961e8f918ea 100644
--- a/intern/cycles/render/camera.h
+++ b/intern/cycles/render/camera.h
@@ -160,6 +160,8 @@ public:
ProjectionTransform rastertocamera;
ProjectionTransform cameratoraster;
+ ProjectionTransform full_rastertocamera;
+
float3 dx;
float3 dy;