[Bf-blender-cvs] [8fa1da9] master: minor cleanup, reuse existing variable
Antony Riakiotakis
noreply at git.blender.org
Sat Jul 25 22:34:32 CEST 2015
Commit: 8fa1da9213b779bfea50a32613b83f4c1bd1e2d7
Author: Antony Riakiotakis
Date: Sat Jul 25 22:32:55 2015 +0200
Branches: master
https://developer.blender.org/rB8fa1da9213b779bfea50a32613b83f4c1bd1e2d7
minor cleanup, reuse existing variable
===================================================================
M source/blender/blenkernel/intern/subsurf_ccg.c
===================================================================
diff --git a/source/blender/blenkernel/intern/subsurf_ccg.c b/source/blender/blenkernel/intern/subsurf_ccg.c
index dca61f8..7f2883a 100644
--- a/source/blender/blenkernel/intern/subsurf_ccg.c
+++ b/source/blender/blenkernel/intern/subsurf_ccg.c
@@ -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;
More information about the Bf-blender-cvs
mailing list