Blender Git Loki

Git Commits -> Revision e26b5aa

Revision e26b5aa by Matt Ebb (master)
February 13, 2008, 13:36 (GMT)
* fix for [#8085] Glare node crashes on inputs with < 4 colour channels

I had this assigned to Alfredo for a while, but he hasn't replied to the tracker at all, so I suspect he's not around. I'll commit this now to prevent crashes.

Some of the code in the glare node assumed that all buffers will be 4 channel RGBA, when in fact it was possible to give it a VEC3, such as a spec pass with no alpha, which would crash it. This fix just duplicates the input to a new temporary RGBA buffer to work on, if it's not already RGBA.

Commit Details:

Full Hash: e26b5aa9c47fbc604c23efe9100940ff68d8ddbe
SVN Revision: 13670
Parent Commit: 08d54e7
Lines Changed: +11, -7

1 Modified Path:

/source/blender/nodes/intern/CMP_nodes/CMP_glare.c (+11, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021