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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-08-30 18:18:14 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-08-30 18:18:14 +0400
commitdfd54c61d1441d6c55dedaac0f2045bd388dc754 (patch)
tree4e15996429570e2ed882d44270f12d3da3877f66 /source/blender/editors/mesh
parent09af2fecfb177f645c76b7888a28768087f446c5 (diff)
Possible fix for #32446: after undo in mesh edit mode, vertex/edge/face
selection syncing would not work correct, in this case deselecting an edge would deselect the two vertices even if it wasn't needed.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_utils.c b/source/blender/editors/mesh/editmesh_utils.c
index 6b7409cd031..aaf1701d723 100644
--- a/source/blender/editors/mesh/editmesh_utils.c
+++ b/source/blender/editors/mesh/editmesh_utils.c
@@ -580,6 +580,7 @@ static void undoMesh_to_editbtMesh(void *umv, void *em_v, void *UNUSED(obdata))
*em = *em_tmp;
em->selectmode = um->selectmode;
+ bm->selectmode = um->selectmode;
em->ob = ob;
MEM_freeN(em_tmp);