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:
authorDalai Felinto <dfelinto@gmail.com>2017-06-09 12:56:22 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-06-09 12:56:22 +0300
commit461ea375ad6d2dd4663bd7cba945c213c64c19dd (patch)
tree265aae1d395108344896a4f035e7fb077a01c1ec /source/blender/gpu
parentbb773acd5f22e97896b62aaf9ba9c4f0e8304320 (diff)
Fix T51720: Depth of Field Bug - Black Screen
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_compositing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_compositing.c b/source/blender/gpu/intern/gpu_compositing.c
index 6543aacc4c1..c3fab8117b8 100644
--- a/source/blender/gpu/intern/gpu_compositing.c
+++ b/source/blender/gpu/intern/gpu_compositing.c
@@ -1337,6 +1337,7 @@ void GPU_fx_compositor_init_dof_settings(GPUDOFSettings *fx_dof)
fx_dof->focus_distance = 1.0f;
fx_dof->sensor = 1.0f;
fx_dof->num_blades = 6;
+ fx_dof->ratio = 1.0f;
}
void GPU_fx_compositor_init_ssao_settings(GPUSSAOSettings *fx_ssao)