svn merge -r 16320:16369 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender.git] / source / blender / src / editmesh.c
index 487f5f80bfcdbf1b27aba07e503fd3c373e7346e..4c5afe0e6bc1edaeff1b61a649fc4cf780fc6b87 100644 (file)
@@ -1674,6 +1674,10 @@ void separate_mesh(void)
        efa= em->faces.first;
        while(efa) {
                vl1= efa->next;
+               if (efa == G.editMesh->act_face && (efa->f & SELECT)) {
+                       EM_set_actFace(NULL);
+               }
+
                if((efa->f & SELECT)==0) {
                        BLI_remlink(&em->faces, efa);
                        BLI_addtail(&edvl, efa);