From f954029e97c866a971b62a2faadf35fdb80b73bf Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Wed, 25 Jan 2023 11:38:12 -0600 Subject: [PATCH] Curves Sculpt: Add report about missing surface for puff brush This is done in the other sculpt brushes that require a surface object. --- source/blender/editors/sculpt_paint/curves_sculpt_puff.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/editors/sculpt_paint/curves_sculpt_puff.cc b/source/blender/editors/sculpt_paint/curves_sculpt_puff.cc index e44e97bc840..dcb7a3ae797 100644 --- a/source/blender/editors/sculpt_paint/curves_sculpt_puff.cc +++ b/source/blender/editors/sculpt_paint/curves_sculpt_puff.cc @@ -92,6 +92,7 @@ struct PuffOperationExecutor { return; } if (curves_id_->surface == nullptr || curves_id_->surface->type != OB_MESH) { + report_missing_surface(stroke_extension.reports); return; }