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:
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt.c')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index dae864fda91..5feca19a698 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -3634,7 +3634,8 @@ ATTR_NO_OPT static float brush_strength(const Sculpt *sd,
flip = 1.0f;
}
- float pressure = BKE_brush_use_alpha_pressure(brush) ? cache->pressure : 1.0f;
+ // float pressure = BKE_brush_use_alpha_pressure(brush) ? cache->pressure : 1.0f;
+ float pressure = 1.0f;
/* Pressure final value after being tweaked depending on the brush. */
float final_pressure = pressure;