diff options
author | Joseph Eagar <joeedh@gmail.com> | 2022-10-04 00:48:04 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2022-10-04 01:37:23 +0300 |
commit | 416d1d039363fe7d93943ecd8936b386f9301749 (patch) | |
tree | bea41bba6c610dd04676d641f5dca10bfa0defb2 /source/blender/blenkernel/intern/paint.cc | |
parent | 4ddc5a936e07129aaf94ed7d188b8f5f5ea14085 (diff) |
Sculpt: Add debug code to print sculpt undo stack.
Diffstat (limited to 'source/blender/blenkernel/intern/paint.cc')
-rw-r--r-- | source/blender/blenkernel/intern/paint.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/paint.cc b/source/blender/blenkernel/intern/paint.cc index f7f5f7e411a..de4b6caa781 100644 --- a/source/blender/blenkernel/intern/paint.cc +++ b/source/blender/blenkernel/intern/paint.cc @@ -2291,6 +2291,7 @@ PBVH *BKE_sculpt_object_pbvh_ensure(Depsgraph *depsgraph, Object *ob) } BKE_pbvh_pmap_set(pbvh, ob->sculpt->pmap); + sculpt_attribute_update_refs(ob); ob->sculpt->pbvh = pbvh; return pbvh; |