diff options
author | Hans Goudey <h.goudey@me.com> | 2022-04-06 19:42:52 +0300 |
---|---|---|
committer | Fabian Schempp <fabianschempp@googlemail.com> | 2022-04-11 01:31:59 +0300 |
commit | 2367b9bcb998448c55f6b9735a764b3e9a278c26 (patch) | |
tree | 73581253f700cd9f53294dce19658ebce65bda77 /source | |
parent | 377e240b4d1cf90f2e291f7a6c2a1748cb32ac29 (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')
-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; |