Blender Git Loki

Git Commits -> Revision 6fbd4e3

Revision 6fbd4e3 by Ton Roosendaal (master)
October 14, 2004, 14:20 (GMT)
Color picker fixes... (bug #1490)

Since color is stored RGB only in Blender, the conversion from and to HSV
causes values to be clipped all the time.
Solution found is adding a persistant hsv storage to the uiBut struct, and
have it working on that only while hsv button is open. Still, after usage
(leaving picker) the conversion will change values to rgb.

Also added; redraw event for editing buttons, to show correct changed
color while using nkey picker

Commit Details:

Full Hash: 6fbd4e3e1f5169aed15856f7b1c412176035b236
SVN Revision: 3256
Parent Commit: 0d68caf
Lines Changed: +80, -69

6 Modified Paths:

/source/blender/include/BIF_interface.h (+1, -1) (Diff)
/source/blender/include/interface.h (+1, -1) (Diff)
/source/blender/src/drawimage.c (+1, -1) (Diff)
/source/blender/src/drawview.c (+1, -1) (Diff)
/source/blender/src/interface.c (+72, -62) (Diff)
/source/blender/src/interface_draw.c (+4, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021