Shift+H in editmode with only faces selected would result in selected faces having...
authorCampbell Barton <ideasman42@gmail.com>
Sun, 11 May 2008 13:10:56 +0000 (13:10 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 11 May 2008 13:10:56 +0000 (13:10 +0000)
source/blender/src/editmesh_mods.c

index 84971e8ce0bc957362910db6c8aa37dac9907589..74d0b60a0c6125d18333101dd8110811f938b42f 100644 (file)
@@ -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);
+                       }
                }
        }