revealing selected faces in the UV window with sync selection disabled and when both...
[blender.git] / source / blender / src / editmesh_mods.c
index 74d0b60a0c6125d18333101dd8110811f938b42f..b5f667ed77c38a23650abe8b1a8b63443b23ea9c 100644 (file)
@@ -2755,7 +2755,7 @@ void reveal_tface_uv(void)
                        for (efa= em->faces.first; efa; efa= efa->next) {
                                if (!(efa->h) && !(efa->f & SELECT)) {
                                        tface= CustomData_em_get(&em->fdata, efa->data, CD_MTFACE);
-                                       efa->f |= SELECT;
+                                       EM_select_face(efa, 1);
                                        tface->flag |= TF_SEL1|TF_SEL2|TF_SEL3|TF_SEL4;
                                }
                        }