[Bf-blender-cvs] [8146acd524e] greasepencil-object: GPencil: Fix inverted color in Tint tool
Antonio Vazquez
noreply at git.blender.org
Sun Nov 3 19:37:59 CET 2019
Commit: 8146acd524e9d4607b581b10f0d989f83d1bce91
Author: Antonio Vazquez
Date: Sun Nov 3 19:37:50 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rB8146acd524e9d4607b581b10f0d989f83d1bce91
GPencil: Fix inverted color in Tint tool
===================================================================
M source/blender/blenkernel/intern/brush.c
===================================================================
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index bd0aa829347..df2c1ff4824 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -648,6 +648,7 @@ void BKE_brush_gpencil_presets(Main *bmain, ToolSettings *ts)
brush->rgb[0] = 1.0f;
brush->rgb[1] = 1.0f;
brush->rgb[2] = 1.0f;
+ zero_v3(brush->secondary_rgb);
brush->gpencil_settings->icon_id = GP_BRUSH_ICON_TINT;
brush->gpencil_tool = GPAINT_TOOL_TINT;
More information about the Bf-blender-cvs
mailing list