dissolve faces: errors-out on holes, preserves winding, and doesn't delete original...
[blender.git] / source / blender / bmesh / intern / bmesh_queries.c
index a38f3992dfeb0c6f52221730510815c0e38c16f3..9bc4fe03fdc3098d968de2494b745e4883d3ae61 100644 (file)
@@ -114,7 +114,7 @@ int BM_Verts_In_Face(BMesh *bm, BMFace *f, BMVert **varr, int len)
        curloop = f->loopbase;
        do{
                if(BMO_TestFlag(bm, curloop->v, BM_OVERLAP)) count++;
-               curloop = ((BMLoop*)(curloop->head.next));
+               curloop = (BMLoop*)(curloop->head.next);
        } while(curloop != f->loopbase);
 
        for(i=0; i < len; i++) BMO_ClearFlag(bm, varr[i], BM_OVERLAP);