diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-07 07:05:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-07 07:05:39 +0400 |
commit | 212717416b40419c085853b26f4311dde74b1557 (patch) | |
tree | 1001f3d89d058272b048873151d1f1d590b23353 /source/blender/editors/sculpt_paint/sculpt_undo.c | |
parent | 5c5d643938c975bda53f04013ce88486afca2ecf (diff) |
Dyntopo: avoid mask layer lookups while adding/removing verts
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_undo.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.c b/source/blender/editors/sculpt_paint/sculpt_undo.c index b086bff1ba7..90e26f03b2e 100644 --- a/source/blender/editors/sculpt_paint/sculpt_undo.c +++ b/source/blender/editors/sculpt_paint/sculpt_undo.c @@ -761,7 +761,7 @@ static SculptUndoNode *sculpt_undo_bmesh_push(Object *ob, /* Before any vertex values get modified, ensure their * original positions are logged */ BKE_pbvh_vertex_iter_begin(ss->pbvh, node, vd, PBVH_ITER_ALL) { - BM_log_vert_before_modified(ss->bm, ss->bm_log, vd.bm_vert); + BM_log_vert_before_modified(ss->bm_log, vd.bm_vert, vd.cd_vert_mask_offset); } BKE_pbvh_vertex_iter_end; break; |