Blender Git Loki

Git Commits -> Revision bdbe484

Revision bdbe484 by Dalai Felinto (master)
January 4, 2019, 12:26 (GMT)
EEVEE DoF: Fix runtime error: division by zero when blades was 0

Even though the fragment shader was already discarding all members of
dof_bokeh_sides when blades was zero, the C code was still trying to
use this for a few divisions leading to runtime asserts.

Those are harmless yet can lead some to waste time while pursuiting
other bugs (namely a near freeze when blades aspect ratio is too low).

Commit Details:

Full Hash: bdbe48442846e156dc412d105d2e288af2b06696
Parent Commit: 4d8ed93
Lines Changed: +2, -2

1 Modified Path:

/source/blender/draw/engines/eevee/eevee_depth_of_field.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021