2D Cursor in UV window
[blender.git] / source / blender / src / transform_conversions.c
index 00df69ee631f3bf51aee0f1322460269f06336e3..2fdf68951b85a82fbfbf6e21861e4faee0005112 100644 (file)
@@ -1857,12 +1857,6 @@ static void createTransUVs(TransInfo *t)
        if(is_uv_tface_editing_allowed()==0) return;
 
        /* count */
        if(is_uv_tface_editing_allowed()==0) return;
 
        /* count */
-       /*
-       tf= me->mtface;
-       mf= me->mface;
-       for(a=me->totface; a>0; a--, tf++, mf++) {
-               if(mf->v3 && mf->flag & ME_FACE_SEL) {
-       */
        for (efa= em->faces.first; efa; efa= efa->next) {
                if (efa->f & SELECT) {
                        tf= CustomData_em_get(&em->fdata, efa->data, CD_MTFACE);
        for (efa= em->faces.first; efa; efa= efa->next) {
                if (efa->f & SELECT) {
                        tf= CustomData_em_get(&em->fdata, efa->data, CD_MTFACE);
@@ -1889,12 +1883,6 @@ static void createTransUVs(TransInfo *t)
 
        td= t->data;
        td2d= t->data2d;
 
        td= t->data;
        td2d= t->data2d;
-       /*
-       tf= me->mtface;
-       mf= me->mface;
-       for(a=me->totface; a>0; a--, tf++, mf++) {
-               if(mf->v3 && mf->flag & ME_FACE_SEL) {
-               */
        for (efa= em->faces.first; efa; efa= efa->next) {
                if (efa->f & SELECT) {
                        tf= CustomData_em_get(&em->fdata, efa->data, CD_MTFACE);
        for (efa= em->faces.first; efa; efa= efa->next) {
                if (efa->f & SELECT) {
                        tf= CustomData_em_get(&em->fdata, efa->data, CD_MTFACE);