[Bf-blender-cvs] [63b05784bcc] greasepencil-object: Change panel back color

Antonio Vazquez noreply at git.blender.org
Thu Jan 11 11:56:13 CET 2018


Commit: 63b05784bcc9c53debb52b890c2ccbf4ac4f3613
Author: Antonio Vazquez
Date:   Thu Jan 11 11:54:04 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rB63b05784bcc9c53debb52b890c2ccbf4ac4f3613

Change panel back color

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

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 6be322b508d..d7a523bbda5 100644
--- a/source/blender/editors/gpencil/gpencil_colorpick.c
+++ b/source/blender/editors/gpencil/gpencil_colorpick.c
@@ -219,6 +219,7 @@ static void gpencil_draw_color_table(const bContext *UNUSED(C), tGPDpick *tgpk)
 
 	/* draw panel background */
 	UI_GetThemeColor4fv(TH_PANEL_BACK, ink);
+	ink[3] = 1.0f;
 	gp_draw_fill_box(&tgpk->panel, ink, ink, 0);
 
 	/* draw color boxes */



More information about the Bf-blender-cvs mailing list