Merge branch 'blender-v5.0-release'

This commit is contained in:
Sean Kim
2025-10-14 10:39:34 -07:00
2 changed files with 11 additions and 1 deletions

View File

@@ -57,7 +57,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

View File

@@ -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*/,