diff options
author | Hans Goudey <h.goudey@me.com> | 2022-05-10 15:27:36 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-05-10 15:27:36 +0300 |
commit | b38cd1bcbedc5699896cec7ea26dd70bce52eb9c (patch) | |
tree | 23fb19038c90db22b9e8bac7f81d65423da0c835 /source/blender/editors/sculpt_paint | |
parent | 3893ba5d67de40806e8b541d9d0d82bc2d12eb33 (diff) |
Fix: Missing curves type count cache update in add brush
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/curves_sculpt_add.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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_); } |