diff options
author | Hans Goudey <h.goudey@me.com> | 2022-04-06 19:42:52 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-04-06 19:42:52 +0300 |
commit | 6aaae444736199bafd1d41ec0667c03938ac80ed (patch) | |
tree | d435cdbf71992d119d31b62eaa3ce51d22596d5e /source/blender | |
parent | d8a9bcea6ce5a64f7bac43c0d7e78707b2f64b13 (diff) |
Fix: Missing virtual destructor on virtual class
This caused an ASAN report for new/delete type mismatch
when using the snake hook brush in curves sculpt mode.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/sculpt_paint/curves_sculpt_grow_shrink.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/curves_sculpt_grow_shrink.cc b/source/blender/editors/sculpt_paint/curves_sculpt_grow_shrink.cc index d26af20799e..230da61c95b 100644 --- a/source/blender/editors/sculpt_paint/curves_sculpt_grow_shrink.cc +++ b/source/blender/editors/sculpt_paint/curves_sculpt_grow_shrink.cc @@ -57,6 +57,7 @@ using bke::CurvesGeometry; */ class CurvesEffect { public: + virtual ~CurvesEffect() = default; virtual void execute(CurvesGeometry &curves, Span<int> curve_indices, Span<float> move_distances_cu) = 0; |