Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2004-08-04 10:52:41 +0400
committerMatt Ebb <matt@mke3.net>2004-08-04 10:52:41 +0400
commitd1322bfaa8f484ae402a0d1c1a12cff306f7f3f1 (patch)
treef9d8cf0b962f13e1b9cef1257b161e83458fd78d /source/blender/src/drawview.c
parentc8ef5b7d27e2123021fecd170167b5731b5e535f (diff)
Tweak to the colour picker after conversation with Ton.
Moved the buttons to the side, so it's: * consistent with the layout of the floating panel version and consistent with the vertical R/G/B sliders layout * using real number fields instead of abused menus :)
Diffstat (limited to 'source/blender/src/drawview.c')
-rw-r--r--source/blender/src/drawview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawview.c b/source/blender/src/drawview.c
index 7df8900f0e1..02dbd8565a9 100644
--- a/source/blender/src/drawview.c
+++ b/source/blender/src/drawview.c
@@ -1516,7 +1516,7 @@ static void view3d_panel_object(short cntrl) // VIEW3D_HANDLER_OBJECT
else if(G.f & (G_VERTEXPAINT|G_TEXTUREPAINT)) {
extern VPaint Gvp; /* from vpaint */
static float hsv[3], old[3]; // used as temp mem for picker
- uiBlockPickerButtons(block, &Gvp.r, hsv, old, 'r'); /* 'r' is for numbuts on right */
+ uiBlockPickerButtons(block, &Gvp.r, hsv, old, 'f'); /* 'f' is for floating panel */
}
else {
uiBlockBeginAlign(block);