[Bf-blender-cvs] [09f45057124] master: UI: Color Picker, make HSV default.

Pablo Vazquez noreply at git.blender.org
Sun Feb 10 21:30:11 CET 2019


Commit: 09f45057124f70fac797859eb704989f094ca38e
Author: Pablo Vazquez
Date:   Sun Feb 10 21:29:45 2019 +0100
Branches: master
https://developer.blender.org/rB09f45057124f70fac797859eb704989f094ca38e

UI: Color Picker, make HSV default.

Most artists agree that RGB by default is not as flexible as HSV.
It's just the first time it opens anyway, since it will remember whatever
was set last like it always does.

===================================================================

M	source/blender/editors/interface/interface_region_color_picker.c

===================================================================

diff --git a/source/blender/editors/interface/interface_region_color_picker.c b/source/blender/editors/interface/interface_region_color_picker.c
index 109de8c1c21..bf620daaa49 100644
--- a/source/blender/editors/interface/interface_region_color_picker.c
+++ b/source/blender/editors/interface/interface_region_color_picker.c
@@ -398,7 +398,7 @@ static void ui_block_colorpicker(
         uiBlock *block, uiBut *from_but, float rgba[4], bool show_picker)
 {
 	/* ePickerType */
-	static char colormode = 0;
+	static char colormode = 1;
 	uiBut *bt;
 	int width, butwidth;
 	static char hexcol[128];



More information about the Bf-blender-cvs mailing list