diff options
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_undo.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_undo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.c b/source/blender/editors/sculpt_paint/sculpt_undo.c index c66c1d91a77..965f31cbb6b 100644 --- a/source/blender/editors/sculpt_paint/sculpt_undo.c +++ b/source/blender/editors/sculpt_paint/sculpt_undo.c @@ -654,8 +654,9 @@ static bool sculpt_undo_cleanup(bContext *C, ListBase *lb) unode = lb->first; if (unode && !STREQ(unode->idname, ob->id.name)) { - if (unode->bm_entry) + if (unode->bm_entry) { BM_log_cleanup_entry(unode->bm_entry); + } return true; } |