diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-05-11 17:10:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-05-11 17:10:56 +0400 |
commit | 9bf4e60cb8d7f46ece1578118cdded0a12943e99 (patch) | |
tree | 46dac4b652e289fe20763a975f700aae510ca99e /source/blender/src/editmesh_mods.c | |
parent | 97e72570d11c6669e4c5a3a1627008128c85112c (diff) |
Shift+H in editmode with only faces selected would result in selected faces having unselected edges.
Diffstat (limited to 'source/blender/src/editmesh_mods.c')
-rw-r--r-- | source/blender/src/editmesh_mods.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); + } } } |