Blender Git Commit Log

Git Commits -> Revision 2d655d3

Revision 2d655d3 by Antonis Ryakiotakis (master)
April 11, 2014, 12:13 (GMT)
Fix T39627

HSL sliders jumping. The issue here is that we store HSV in display
space.
To correctly account for that, made sure HSV/HSL is now using the
displayed
color to compute the values in the sliders. RGB values still show
the property values (linear for linear, gamma corrected for gamma
corrected)

We could change the way we store HSV uniformly (ie in all the code), but
we would need to add many more conversions in the picker code to account
for storing it that way. Also it doesn't make sense: Color pickers
should help with -visible- color selection. It may
be worth changing the RGB sliders as well.
My fix takes into account the way HSV is stored in HSVCube as well in
the code.

Commit Details:

Full Hash: 2d655d370d84d39e296e1744ac412a5968a5657d
Parent Commit: 0b50ea5a
Lines Changed: +34, -11

1 Modified Path:

/source/blender/editors/interface/interface_regions.c (+34, -11) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021