From 67d5f8ea601b77277348a6eb85e30f3f59404b61 Mon Sep 17 00:00:00 2001 From: Christoph Lendenfeld Date: Tue, 14 Oct 2025 17:24:37 +0200 Subject: [PATCH 1/2] Fix: Select Pattern Operator for pose bones Due to the change of the selection state in pose mode to the pose bone, this operator was broken. Pull Request: https://projects.blender.org/blender/blender/pulls/148067 --- scripts/startup/bl_operators/object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/startup/bl_operators/object.py b/scripts/startup/bl_operators/object.py index 2ccf13997c5..5e7b211298b 100644 --- a/scripts/startup/bl_operators/object.py +++ b/scripts/startup/bl_operators/object.py @@ -55,7 +55,7 @@ class SelectPattern(Operator): is_pbone = False obj = context.object if obj and obj.mode == 'POSE': - items = obj.data.bones + items = obj.pose.bones if not self.extend: bpy.ops.pose.select_all(action='DESELECT') is_pbone = True From 8d1688383e120799ecc22f4577425880719f5f2a Mon Sep 17 00:00:00 2001 From: Sean Kim Date: Tue, 14 Oct 2025 19:38:41 +0200 Subject: [PATCH 2/2] Fix #147774: Newly created brush causes crash when used While uncommon, brush initialization does happen in some addon workflows. Prior changes to use custom pressure curves in more places did not initialize the `CurveMapping` struct correctly. Pull Request: https://projects.blender.org/blender/blender/pulls/147840 --- source/blender/blenkernel/intern/brush.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/blender/blenkernel/intern/brush.cc b/source/blender/blenkernel/intern/brush.cc index eca7bbd4d75..2227c49be09 100644 --- a/source/blender/blenkernel/intern/brush.cc +++ b/source/blender/blenkernel/intern/brush.cc @@ -64,6 +64,16 @@ static void brush_init_data(ID *id) /* the default alpha falloff curve */ BKE_brush_curve_preset(brush, CURVE_PRESET_SMOOTH); + + brush->automasking_cavity_curve = BKE_paint_default_curve(); + + brush->curve_rand_hue = BKE_paint_default_curve(); + brush->curve_rand_saturation = BKE_paint_default_curve(); + brush->curve_rand_value = BKE_paint_default_curve(); + + brush->curve_size = BKE_paint_default_curve(); + brush->curve_strength = BKE_paint_default_curve(); + brush->curve_jitter = BKE_paint_default_curve(); } static void brush_copy_data(Main * /*bmain*/,