Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-01-17 04:34:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-17 04:36:17 +0300
commit2f372654b6f30a643a5c448895d2ffae536c86c5 (patch)
tree0e539d83059b060150d5403d0846e811ee46f6c1 /source/blender/bmesh/intern/bmesh_marking.h
parent371006ddea9ef3df7b1e8c83ad28bd41bc833f87 (diff)
BMesh: keep selection history when removing doubles
Auto-merge would loose the active vertex.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_marking.h')
-rw-r--r--source/blender/bmesh/intern/bmesh_marking.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/bmesh/intern/bmesh_marking.h b/source/blender/bmesh/intern/bmesh_marking.h
index 4730af66a74..8e6a8f9e991 100644
--- a/source/blender/bmesh/intern/bmesh_marking.h
+++ b/source/blender/bmesh/intern/bmesh_marking.h
@@ -114,6 +114,9 @@ void BM_select_history_clear(BMesh *bm);
bool BM_select_history_active_get(BMesh *bm, struct BMEditSelection *ese);
struct GHash *BM_select_history_map_create(BMesh *bm);
+void BM_select_history_merge_from_targetmap(
+ BMesh *bm, GHash *vert_map, GHash *edge_map, GHash *face_map, const bool use_chain);
+
#define BM_SELECT_HISTORY_BACKUP(bm) { \
ListBase _bm_prev_selected = (bm)->selected; BLI_listbase_clear(&(bm)->selected)