From 548c85293aa43731119c3ed6325e3faecb616111 Mon Sep 17 00:00:00 2001 From: Sean Kim Date: Fri, 6 Dec 2024 00:45:21 +0100 Subject: [PATCH] Fix: Mesh Filter undo panel not undoing previous change The `exec` callback was missing a call to `undo::push_end`, meaning that using the undo panel would not undo the prior step, causing an accumulative effect. Pull Request: https://projects.blender.org/blender/blender/pulls/131466 --- source/blender/editors/sculpt_paint/sculpt_filter_mesh.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/editors/sculpt_paint/sculpt_filter_mesh.cc b/source/blender/editors/sculpt_paint/sculpt_filter_mesh.cc index 1cee64e7c54..be32c748316 100644 --- a/source/blender/editors/sculpt_paint/sculpt_filter_mesh.cc +++ b/source/blender/editors/sculpt_paint/sculpt_filter_mesh.cc @@ -2494,6 +2494,7 @@ static int sculpt_mesh_filter_exec(bContext *C, wmOperator *op) } sculpt_mesh_filter_end(C); + undo::push_end(*CTX_data_active_object(C)); return OPERATOR_FINISHED; }