minor cleanup, reuse existing variable

This commit is contained in:
Antonis Ryakiotakis 2015-07-25 22:32:55 +02:00
parent f1f4a16eab
commit 8fa1da9213
1 changed files with 2 additions and 2 deletions

View File

@ -2392,7 +2392,7 @@ static void ccgDM_buffer_copy_edge(
}
if (ccgdm->edgeFlags && !(ccgdm->edgeFlags[j] & ME_EDGEDRAW)) {
if (!ccgSubSurf_getEdgeNumFaces(e)) {
if (isloose) {
for (i = 0; i < edgeSize; i++) {
varray[iloosehidden * 2] = iloosevert;
varray[iloosehidden * 2 + 1] = iloosevert + 1;
@ -2415,7 +2415,7 @@ static void ccgDM_buffer_copy_edge(
}
}
else {
if (!ccgSubSurf_getEdgeNumFaces(e)) {
if (isloose) {
for (i = 0; i < edgeSize; i++) {
varray[iloose * 2] = iloosevert;
varray[iloose * 2 + 1] = iloosevert + 1;