diff options
Diffstat (limited to 'source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c')
-rw-r--r-- | source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c b/source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c index 973d5415567..699075f6cff 100644 --- a/source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c +++ b/source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c @@ -697,7 +697,7 @@ static void opensubdiv_evaluateNGonFaceGrids(CCGSubSurf *ss, int x, S0 = 0, S1 = 0; bool flip; - for (x = 0; x < face->numVerts; ++x) { + for (x = 0; x < face->numVerts; x++) { if (all_verts[x] == edge->v0) { S0 = x; } @@ -806,7 +806,7 @@ void ccgSubSurf_prepareTopologyRefiner(CCGSubSurf *ss, DerivedMesh *dm) const MPoly *mpoly = dm->getPolyArray(dm); int poly; ss->numGrids = 0; - for (poly = 0; poly < num_polys; ++poly) { + for (poly = 0; poly < num_polys; poly++) { ss->numGrids += mpoly[poly].totloop; } } |