made fgon edges not draw lengths with length draw option
authorCampbell Barton <ideasman42@gmail.com>
Wed, 27 Sep 2006 18:08:54 +0000 (18:08 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 27 Sep 2006 18:08:54 +0000 (18:08 +0000)
source/blender/src/drawobject.c

index 515ea91b9524d4cd934337ac68d58106e9c8a6c9..ddd1f3053dbc9d062e739ad9bcbee28ca10eb50f 100644 (file)
@@ -1649,7 +1649,8 @@ static void draw_em_measure_stats(Object *ob, EditMesh *em)
                glColor3fv(col);
                
                for(eed= em->edges.first; eed; eed= eed->next) {
-                       if((eed->f & SELECT) || (G.moving && ((eed->v1->f & SELECT) || (eed->v2->f & SELECT)) )) {
+                       /* draw non fgon edges, or selected edges, or edges next to selected verts while draging */
+                       if((eed->h != EM_FGON) && ((eed->f & SELECT) || (G.moving && ((eed->v1->f & SELECT) || (eed->v2->f & SELECT)) ))) {
                                VECCOPY(v1, eed->v1->co);
                                VECCOPY(v2, eed->v2->co);