Fix redraw error for dyntopo smooth brush

This commit is contained in:
Joseph Eagar 2020-11-05 09:03:56 -08:00
parent 2babf80ae6
commit b54d7bfad8
1 changed files with 4 additions and 1 deletions

View File

@ -6169,11 +6169,14 @@ static void do_brush_action(Sculpt *sd, Object *ob, Brush *brush, UnifiedPaintSe
else {
SCULPT_ensure_dyntopo_node_undo(ob, nodes[i], SCULPT_UNDO_FACE_SETS, -1);
}
BKE_pbvh_node_mark_update(nodes[i]);
}
}
else if (ss->bm) {
else {
for (int i = 0; i < totnode; i++) {
SCULPT_ensure_dyntopo_node_undo(ob, nodes[i], SCULPT_UNDO_COORDS, -1);
BKE_pbvh_node_mark_update(nodes[i]);
}
}
}