diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2011-11-27 01:42:04 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2011-11-27 01:42:04 +0400 |
commit | 65cf6256f5e08d8fb1897c3f67375aa67b72a523 (patch) | |
tree | 11226ca797e743bcb6c798fac78296f3f68ee3c9 /source/blender/blenlib | |
parent | 6f1473fb7c6b3bfa30d750482bd1c7ac197f4a92 (diff) |
Fix [#29410] Blender svn 2.60.5 r42177, compositor, glare node bug.
The problem was in fact in the changes made to blend_ramp() func at rev42164. The checks on green pointer (if(g) {...) were checking the existance of a valid value (i.e. if input color was rgb or only shades of grey in r pointer), but as we get now a full float[3] pointer, this test is no more possible. And doing if(r_col[1]) {... was wrong, as it only broke things in case green was 0.0 (which was the case with the generated glare color of bug report).
So, just removed all those tests!
Diffstat (limited to 'source/blender/blenlib')
0 files changed, 0 insertions, 0 deletions