Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-05-10 15:27:36 +0300
committerHans Goudey <h.goudey@me.com>2022-05-10 15:27:36 +0300
commitb38cd1bcbedc5699896cec7ea26dd70bce52eb9c (patch)
tree23fb19038c90db22b9e8bac7f81d65423da0c835
parent3893ba5d67de40806e8b541d9d0d82bc2d12eb33 (diff)
Fix: Missing curves type count cache update in add brush
-rw-r--r--source/blender/editors/sculpt_paint/curves_sculpt_add.cc2
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_);
}