dont use tface hide or select anymore, since maintaining 2 sets of hide/select data...
[blender.git] / source / blender / blenkernel / intern / DerivedMesh.c
index 38762d8f49aa6b13eb18a9c02e3ce5f08459a56c..fa8f76178d590d53a7e9a0a358edf00ffd2d7858 100644 (file)
@@ -572,7 +572,7 @@ static void emDM_drawUVEdges(DerivedMesh *dm)
        for(efa= emdm->em->faces.first; efa; efa= efa->next) {
                tf = CustomData_em_get(&emdm->em->fdata, efa->data, CD_MTFACE);
 
-               if(tf && !(tf->flag&TF_HIDE)) {
+               if(tf && !(efa->h)) {
                        glVertex2fv(tf->uv[0]);
                        glVertex2fv(tf->uv[1]);