revealing selected faces in the UV window with sync selection disabled and when both...
authorCampbell Barton <ideasman42@gmail.com>
Sun, 11 May 2008 13:28:57 +0000 (13:28 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 11 May 2008 13:28:57 +0000 (13:28 +0000)
edges.

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);
                        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;
                                }
                        }
                                        tface->flag |= TF_SEL1|TF_SEL2|TF_SEL3|TF_SEL4;
                                }
                        }