diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2019-01-04 15:25:59 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2019-01-04 15:26:03 +0300 |
commit | bdbe48442846e156dc412d105d2e288af2b06696 (patch) | |
tree | 6909eb460555e1fc7d098917e3ec51bfc13123e8 /release | |
parent | 4d8ed937f226f4cdfa6f62fde5306b14c217e9c5 (diff) |
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).
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions