diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-04-15 18:18:27 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-04-15 18:20:07 +0400 |
commit | e4c2a3c31cf262fcf5d3577552e66b1c5e63218f (patch) | |
tree | cae7af23fb84a9ea564a67ecfb93341b1a906ff2 /source/blender/bmesh/operators/bmo_removedoubles.c | |
parent | a15ae564217f2b47848c337e477068be0e150973 (diff) |
Various fixes/improvements regarding BMesh's elem_index_dirty and BM_LOOP handling.
Most notably, BM_LOOP and BM_FACE index recompute should now be fully decoupled.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_removedoubles.c')
-rw-r--r-- | source/blender/bmesh/operators/bmo_removedoubles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/operators/bmo_removedoubles.c b/source/blender/bmesh/operators/bmo_removedoubles.c index cef7c70d520..216d3410de8 100644 --- a/source/blender/bmesh/operators/bmo_removedoubles.c +++ b/source/blender/bmesh/operators/bmo_removedoubles.c @@ -219,7 +219,7 @@ void bmo_weld_verts_exec(BMesh *bm, BMOperator *op) } } } - bm->elem_index_dirty |= BM_FACE; + bm->elem_index_dirty |= BM_FACE | BM_LOOP; /* faces get "modified" by creating new faces here, then at the * end the old faces are deleted */ |