diff options
Diffstat (limited to 'source/blender/bmesh/operators')
-rw-r--r-- | source/blender/bmesh/operators/bmo_hull.c | 2 | ||||
-rw-r--r-- | source/blender/bmesh/operators/bmo_smooth_laplacian.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/bmesh/operators/bmo_hull.c b/source/blender/bmesh/operators/bmo_hull.c index 1737e27c84a..0a86a84d55b 100644 --- a/source/blender/bmesh/operators/bmo_hull.c +++ b/source/blender/bmesh/operators/bmo_hull.c @@ -535,7 +535,7 @@ static void hull_from_bullet(BMesh *bm, BMOperator *op, } /* Check that there are at least three vertices in the input */ -static int hull_num_input_verts_is_ok(BMOperator *op) +static bool hull_num_input_verts_is_ok(BMOperator *op) { BMOIter oiter; BMVert *v; diff --git a/source/blender/bmesh/operators/bmo_smooth_laplacian.c b/source/blender/bmesh/operators/bmo_smooth_laplacian.c index c36c7467b89..e6321341950 100644 --- a/source/blender/bmesh/operators/bmo_smooth_laplacian.c +++ b/source/blender/bmesh/operators/bmo_smooth_laplacian.c @@ -67,7 +67,7 @@ struct BLaplacianSystem { typedef struct BLaplacianSystem LaplacianSystem; static float cotan_weight(float *v1, float *v2, float *v3); -static int vert_is_boundary(BMVert *v); +static bool vert_is_boundary(BMVert *v); static LaplacianSystem *init_laplacian_system(int a_numEdges, int a_numFaces, int a_numVerts); static void init_laplacian_matrix(LaplacianSystem *sys); static void delete_laplacian_system(LaplacianSystem *sys); @@ -392,7 +392,7 @@ static float cotan_weight(float *v1, float *v2, float *v3) return dot_v3v3(a, b) / clen; } -static int vert_is_boundary(BMVert *v) +static bool vert_is_boundary(BMVert *v) { BMEdge *ed; BMFace *f; |