Fix #24095: user preferences theme colors didn't match exactly with what
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Sat, 2 Oct 2010 14:17:20 +0000 (14:17 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Sat, 2 Oct 2010 14:17:20 +0000 (14:17 +0000)
commit11467a7873ed6b17ef09ab6e4754fb64b8d7bdf8
tree72f7f6337a93548f89be28c88b4126ea491a3074
parenta634d445106d351a247ddf6c97b07d002cfceaa4
Fix #24095: user preferences theme colors didn't match exactly with what
was drawn. Problem was that these were not set to be in gamma space. Also
needed to fix automatic 0..255 to 0..1 range conversion for PROP_COLOR_GAMMA,
was only working for PROP_COLOR.
source/blender/makesrna/intern/makesrna.c
source/blender/makesrna/intern/rna_userdef.c