Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenkernel/intern/CCGSubSurf_legacy.c')
-rw-r--r--source/blender/blenkernel/intern/CCGSubSurf_legacy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/CCGSubSurf_legacy.c b/source/blender/blenkernel/intern/CCGSubSurf_legacy.c
index 8fc9afd58f1..b723d39ca08 100644
--- a/source/blender/blenkernel/intern/CCGSubSurf_legacy.c
+++ b/source/blender/blenkernel/intern/CCGSubSurf_legacy.c
@@ -47,15 +47,15 @@ static int _edge_isBoundary(const CCGEdge *e)
return e->numFaces < 2;
}
-static int _vert_isBoundary(const CCGVert *v)
+static bool _vert_isBoundary(const CCGVert *v)
{
int i;
for (i = 0; i < v->numEdges; i++) {
if (_edge_isBoundary(v->edges[i])) {
- return 1;
+ return true;
}
}
- return 0;
+ return false;
}
static CCGVert *_edge_getOtherVert(CCGEdge *e, CCGVert *vQ)