Blender Git Commit Log

Git Commits -> Revision 054c615

Revision 054c615 by Ton Roosendaal (master)
November 13, 2012, 12:55 (GMT)
Bugfix #33159

Histogram in Blender was nearly useless - it just didnt work, showed
confusing blank results.

Two reasons for it:
- It was including Alpha in the weighted total value
(RGB images have alpha 255 for all pixels)
- It was counting the a total weight value max(R, G, B, A), instead of
using max(R) and max(G) etc.

Now it all draws much nicer - similar to Da Gimp! :)


Commit Details:

Full Hash: 054c6159de84e2c7adf55de6ab6e20c005b7cf63
SVN Revision: 52178
Parent Commit: 9a5cc82
Lines Changed: +25, -13

1 Modified Path:

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