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:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-09-09 11:57:54 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-09-09 11:57:54 +0300
commitc87ee8da2c3ff15777044a68f881ccb1bc03c37a (patch)
treec47040a339679952c6b1a669932b47a4acf9d77c /intern/cycles/render/camera.cpp
parentd13a0e8f4ac0352de25e76756509e613a9cc6514 (diff)
Fix T46055: Volume doesn't render when PANORAMIC Camera is inside volume mesh
Diffstat (limited to 'intern/cycles/render/camera.cpp')
-rw-r--r--intern/cycles/render/camera.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/render/camera.cpp b/intern/cycles/render/camera.cpp
index 71d6f43d980..127d116e556 100644
--- a/intern/cycles/render/camera.cpp
+++ b/intern/cycles/render/camera.cpp
@@ -425,9 +425,9 @@ BoundBox Camera::viewplane_bounds_get()
BoundBox bounds = BoundBox::empty;
if(type == CAMERA_PANORAMA) {
- bounds.grow(make_float3(cameratoworld.w.x,
- cameratoworld.w.y,
- cameratoworld.w.z));
+ bounds.grow(make_float3(cameratoworld.x.w,
+ cameratoworld.y.w,
+ cameratoworld.z.w));
}
else {
bounds.grow(transform_raster_to_world(0.0f, 0.0f));