From 007c31ed4b6d95a39ce211a67ed7a6b18b9094d4 Mon Sep 17 00:00:00 2001 From: Sean Kim Date: Fri, 5 Sep 2025 23:15:52 +0200 Subject: [PATCH] Fix #145785: Snake Hook strength pressure curve is visible Introduced with 5f8311f596 Pull Request: https://projects.blender.org/blender/blender/pulls/145816 --- scripts/startup/bl_ui/properties_paint_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/startup/bl_ui/properties_paint_common.py b/scripts/startup/bl_ui/properties_paint_common.py index 9257070e2e0..d3e9af59afd 100644 --- a/scripts/startup/bl_ui/properties_paint_common.py +++ b/scripts/startup/bl_ui/properties_paint_common.py @@ -1178,7 +1178,7 @@ def brush_shared_settings(layout, context, brush, popover=False): slider=True, ) if mode in {'PAINT_TEXTURE', 'PAINT_2D', 'SCULPT', 'PAINT_VERTEX', 'PAINT_WEIGHT', 'SCULPT_CURVES'}: - if brush.use_pressure_strength: + if strength_pressure and brush.use_pressure_strength: layout.template_curve_mapping(brush, "curve_strength", brush=True, use_negative_slope=True) layout.separator()