Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2020-05-04 09:23:27 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-05-04 09:23:27 +0300
commit000fdd8a6eae1a774aa86778a32c187bd0eec2d1 (patch)
tree13667c4bb4633c858bd9daa8ea5396bc47fa536d /source/blender/blenkernel
parent331bf04fad9389cb572ad4c07aab38f5264d9b0e (diff)
GPencil: Fix Chisel Brush pressure
In previous commit the pressure was disabled by error.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/brush.c2
1 files changed, 1 insertions, 1 deletions
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;