Blender Git Loki

Git Commits -> Revision 65cf625

Revision 65cf625 by Bastien Montagne (master)
November 26, 2011, 21:42 (GMT)
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!

Commit Details:

Full Hash: 65cf6256f5e08d8fb1897c3f67375aa67b72a523
SVN Revision: 42181
Parent Commit: 6f1473f
Lines Changed: +115, -146

1 Modified Path:

/source/blender/blenkernel/intern/material.c (+115, -146) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021