- UNUSED macro wasn't throwing an error with GCC if a var become used.
[blender.git] / source / blender / editors / mesh / meshtools.c
index 0f1efbcf7cfa737cda38dc036463936700584a19..d8b34311e76e53b3f1042df19a5a9ea80789889d 100644 (file)
@@ -1104,14 +1104,14 @@ static EditVert *editmesh_get_x_mirror_vert_topo(Object *ob, struct EditMesh *em
        if(poinval != -1)
                return (EditVert *)(poinval);
        return NULL;
-}
+}      
 
 EditVert *editmesh_get_x_mirror_vert(Object *ob, struct EditMesh *em, EditVert *eve, float *co, int index)
 {
        if (((Mesh *)ob->data)->editflag & ME_EDIT_MIRROR_TOPO) {
                return editmesh_get_x_mirror_vert_topo(ob, em, eve, index);
        } else {
-               return editmesh_get_x_mirror_vert_spacial(ob, em, eve->co);
+               return editmesh_get_x_mirror_vert_spacial(ob, em, co);
        }
 }