From b38cd1bcbedc5699896cec7ea26dd70bce52eb9c Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Tue, 10 May 2022 14:27:36 +0200 Subject: [PATCH] Fix: Missing curves type count cache update in add brush --- source/blender/editors/sculpt_paint/curves_sculpt_add.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/blender/editors/sculpt_paint/curves_sculpt_add.cc b/source/blender/editors/sculpt_paint/curves_sculpt_add.cc index 1fdecf47bbd..6edc9194319 100644 --- a/source/blender/editors/sculpt_paint/curves_sculpt_add.cc +++ b/source/blender/editors/sculpt_paint/curves_sculpt_add.cc @@ -228,6 +228,8 @@ struct AddOperationExecutor { threading::parallel_invoke([&]() { this->initialize_curve_offsets(tot_added_curves); }, [&]() { this->initialize_attributes(added_points); }); + curves_->update_curve_types(); + DEG_id_tag_update(&curves_id_->id, ID_RECALC_GEOMETRY); ED_region_tag_redraw(region_); }