From 9bf4e60cb8d7f46ece1578118cdded0a12943e99 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 11 May 2008 13:10:56 +0000 Subject: [PATCH] Shift+H in editmode with only faces selected would result in selected faces having unselected edges. --- source/blender/src/editmesh_mods.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/blender/src/editmesh_mods.c b/source/blender/src/editmesh_mods.c index 84971e8ce0b..74d0b60a0c6 100644 --- a/source/blender/src/editmesh_mods.c +++ b/source/blender/src/editmesh_mods.c @@ -2548,6 +2548,10 @@ void hide_mesh(int swap) efa->e2->f1 |= a; efa->e3->f1 |= a; if(efa->e4) efa->e4->f1 |= a; + /* When edges are not delt with in their own loop, we need to explicitly re-selct select edges that are joined to unselected faces */ + if (swap && G.scene->selectmode == SCE_SELECT_FACE & efa->f & SELECT) { + EM_select_face(efa, 1); + } } }