[Bf-blender-cvs] [000fdd8a6ea] blender-v2.83-release: GPencil: Fix Chisel Brush pressure

Antonio Vazquez noreply at git.blender.org
Mon May 4 08:23:40 CEST 2020


Commit: 000fdd8a6eae1a774aa86778a32c187bd0eec2d1
Author: Antonio Vazquez
Date:   Mon May 4 08:23:27 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rB000fdd8a6eae1a774aa86778a32c187bd0eec2d1

GPencil: Fix Chisel Brush pressure

In previous commit the pressure was disabled by error.

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

M	source/blender/blenkernel/intern/brush.c

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

diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index 8041779880e..8d35abc1523 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -597,7 +597,7 @@ void BKE_gpencil_brush_preset_set(Main *bmain, Brush *brush, const short type)
     }
     case GP_BRUSH_PRESET_MARKER_CHISEL: {
       brush->size = 150.0f;
-      brush->gpencil_settings->flag &= ~GP_BRUSH_USE_PRESSURE;
+      brush->gpencil_settings->flag |= GP_BRUSH_USE_PRESSURE;
 
       brush->gpencil_settings->draw_strength = 1.0f;



More information about the Bf-blender-cvs mailing list