Blender Git Loki

Git Commits -> Revision 41979fc

Revision 41979fc by Richard Antalik (master)
January 26, 2021, 16:50 (GMT)
Fix T84160: Wrong DOF when camera is overriden

Workbench engine used active camera to setup DOF effect even when
camera was overridden.

Store camera override in `WORKBENCH_PrivateData` and use it in
`workbench_dof_engine_init()`

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D9952

Commit Details:

Full Hash: 41979fc03b93ba8d55002311569536bf8c9ee983
Parent Commit: 981380c
Lines Changed: +19, -8

5 Modified Paths:

/source/blender/draw/engines/workbench/workbench_data.c (+9, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_effect_dof.c (+2, -2) (Diff)
/source/blender/draw/engines/workbench/workbench_engine.c (+1, -6) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+5, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_render.c (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021