[Bf-blender-cvs] [461ea375ad6] blender2.8: Fix T51720: Depth of Field Bug - Black Screen

Dalai Felinto noreply at git.blender.org
Fri Jun 9 11:56:55 CEST 2017


Commit: 461ea375ad6d2dd4663bd7cba945c213c64c19dd
Author: Dalai Felinto
Date:   Fri Jun 9 11:56:22 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB461ea375ad6d2dd4663bd7cba945c213c64c19dd

Fix T51720: Depth of Field Bug - Black Screen

===================================================================

M	source/blender/gpu/intern/gpu_compositing.c

===================================================================

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)




More information about the Bf-blender-cvs mailing list