[Bf-blender-cvs] [2ab0a443994] greasepencil-object: GPencil: Add cursor color for Tint

Antonio Vazquez noreply at git.blender.org
Mon Dec 16 16:26:26 CET 2019


Commit: 2ab0a443994f3fec5f30e5a59ce6f9f7cc05b5dc
Author: Antonio Vazquez
Date:   Mon Dec 16 16:26:17 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rB2ab0a443994f3fec5f30e5a59ce6f9f7cc05b5dc

GPencil: Add cursor color for Tint

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

M	release/scripts/startup/bl_ui/properties_grease_pencil_common.py

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

diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index b986b077b0d..7f1e6fcf1b2 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -222,7 +222,7 @@ class GreasePencilDisplayPanel:
             if brush.gpencil_tool == 'DRAW':
                 col.prop(gp_settings, "show_lasso", text="Show Fill Color While Drawing")
 
-            if brush.gpencil_tool == 'FILL':
+            if brush.gpencil_tool in {'FILL', 'TINT'}:
                 col.prop(brush, "cursor_color_add", text="Cursor Color")
 
         elif ob.mode == 'SCULPT_GPENCIL':



More information about the Bf-blender-cvs mailing list