diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.cc b/source/blender/editors/sculpt_paint/sculpt_undo.cc index 2e473c27233..aac7c50ef66 100644 --- a/source/blender/editors/sculpt_paint/sculpt_undo.cc +++ b/source/blender/editors/sculpt_paint/sculpt_undo.cc @@ -987,7 +987,7 @@ static void restore_list(bContext *C, Depsgraph *depsgraph, StepData &step_data) MutableSpan nodes = pbvh.nodes(); const IndexMask changed_nodes = IndexMask::from_predicate( node_mask, GrainSize(1), memory, [&](const int i) { - return indices_contain_true(modified_faces, nodes[i].all_verts()); + return indices_contain_true(modified_faces, nodes[i].faces()); }); pbvh.tag_face_sets_changed(changed_nodes); }