- replaced G.{edve,eded,edvl} with G.editMesh, atm just a structure to
[blender.git] / source / blender / src / edit.c
index 30d1f85c1216a42e025123a5ffe1fff8aa00730f..dda1837235e59ab65adb7f8a4c24d401d9895f91 100644 (file)
@@ -528,13 +528,14 @@ void countall()
        if(G.obedit) {
                
                if(G.obedit->type==OB_MESH) {
-                       eve= G.edve.first;
+                       EditMesh *em = G.editMesh;
+                       eve= em->verts.first;
                        while(eve) {
                                G.totvert++;
                                if(eve->f & 1) G.totvertsel++;
                                eve= eve->next;
                        }
-                       evl= G.edvl.first;
+                       evl= em->faces.first;
                        while(evl) {
                                G.totface++;
                                if(evl->v1->f & 1) {