Commit: 8e7066f949d0c9af47ef20cde9ccb65dca61d22f
Author: Hans Goudey
Date: Wed Apr 6 11:42:52 2022 -0500
Branches: temp-T96710-pbvh-pixels
https://developer.blender.org/rB8e7066f949d0c9af47ef20cde9ccb65dca61d22f
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.
===================================================================
M source/blender/editors/sculpt_paint/curves_sculpt_grow_shrink.cc
===================================================================
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;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs