[Bf-blender-cvs] [71c423f6b37] greasepencil-object: GP Color Picker: Shrink thickness of outlines around color swatches

Joshua Leung noreply at git.blender.org
Tue Feb 6 15:05:45 CET 2018


Commit: 71c423f6b3736bdba9248d648a653b0e4ed02a6f
Author: Joshua Leung
Date:   Wed Feb 7 00:31:35 2018 +1300
Branches: greasepencil-object
https://developer.blender.org/rB71c423f6b3736bdba9248d648a653b0e4ed02a6f

GP Color Picker: Shrink thickness of outlines around color swatches

Now it looks less cartoonish, and more in line with other UI widgets

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

M	source/blender/editors/gpencil/gpencil_colorpick.c

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

diff --git a/source/blender/editors/gpencil/gpencil_colorpick.c b/source/blender/editors/gpencil/gpencil_colorpick.c
index eb8b48846e8..813b66b5903 100644
--- a/source/blender/editors/gpencil/gpencil_colorpick.c
+++ b/source/blender/editors/gpencil/gpencil_colorpick.c
@@ -154,6 +154,7 @@ static void gpencil_draw_color_table(const bContext *UNUSED(C), tGPDpick *tgpk)
 
 	/* draw color boxes */
 	tGPDpickColor *col = tgpk->colors;
+	glLineWidth(1.0);
 	for (int i = 0; i < tgpk->totcolor; i++, col++) {
 		bool focus = false;
 		glEnable(GL_BLEND);



More information about the Bf-blender-cvs mailing list