Fix T65437: sculpt dyntopo undo not showing correct mesh

This commit is contained in:
Brecht Van Lommel
2019-06-05 16:29:19 +02:00
parent 806d4fbc5e
commit 365ba6f5a1

View File

@@ -5585,6 +5585,9 @@ void sculpt_pbvh_clear(Object *ob)
}
ss->pbvh = NULL;
BKE_object_free_derived_caches(ob);
/* Tag to rebuild PBVH in depsgraph. */
DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY);
}
void sculpt_dyntopo_node_layers_add(SculptSession *ss)