Blender Git Commit Log

Git Commits -> Revision d23459f

Revision d23459f by Germano Cavalcante (master)
March 24, 2017, 07:06 (GMT)
Fix T51038: `layerInterp_mloopcol` was casting instead of rounding the interpolated RGBA channels

Casting to int truncates a floating-point number, that is, it loose the fractional part.

Commit Details:

Full Hash: d23459f5164092fb59cd952da6ddd8c0d23170d4
Parent Commit: bc0b5d6
Lines Changed: +10, -13

1 Modified Path:

/source/blender/blenkernel/intern/customdata.c (+10, -13) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021