[Bf-blender-cvs] [307d612404c] master: Fix compilation warning.
Jeroen Bakker
noreply at git.blender.org
Mon Feb 28 09:46:15 CET 2022
Commit: 307d612404caa1ed3252d568b506353e07242296
Author: Jeroen Bakker
Date: Mon Feb 28 09:45:52 2022 +0100
Branches: master
https://developer.blender.org/rB307d612404caa1ed3252d568b506353e07242296
Fix compilation warning.
===================================================================
M source/blender/editors/sculpt_paint/paint_image_ops_paint.cc
===================================================================
diff --git a/source/blender/editors/sculpt_paint/paint_image_ops_paint.cc b/source/blender/editors/sculpt_paint/paint_image_ops_paint.cc
index 79701bba01c..786fcc47526 100644
--- a/source/blender/editors/sculpt_paint/paint_image_ops_paint.cc
+++ b/source/blender/editors/sculpt_paint/paint_image_ops_paint.cc
@@ -44,6 +44,7 @@ namespace blender::ed::sculpt_paint::image::ops::paint {
*/
class AbstractPaintMode {
public:
+ virtual ~AbstractPaintMode() = default;
virtual void *paint_new_stroke(
bContext *C, wmOperator *op, Object *ob, const float mouse[2], int mode) = 0;
virtual void paint_stroke(bContext *C,
More information about the Bf-blender-cvs
mailing list