diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-08-22 14:17:32 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-08-22 14:17:32 +0300 |
commit | 58c9a0b11a0e705f68d741107faba51d9d17000e (patch) | |
tree | 00565c86028934d9e8ce6cb382c6823baa8d25c8 /source/blender/editors/sculpt_paint | |
parent | c1c07b68b82e221db6dd9855a6c2c4162c1d8e02 (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image_proj.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c index 33ea3ceac09..2b0aba9e3fb 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.c +++ b/source/blender/editors/sculpt_paint/paint_image_proj.c @@ -2038,16 +2038,16 @@ static void project_bucket_clip_face( int inside_bucket_flag = 0; int inside_face_flag = 0; int flip; - bool colinear = false; + bool collinear = false; float bucket_bounds_ss[4][2]; - /* detect pathological case where face the three vertices are almost colinear in screen space. + /* detect pathological case where face the three vertices are almost collinear in screen space. * mostly those will be culled but when flood filling or with smooth shading it's a possibility */ if (dist_squared_to_line_v2(v1coSS, v2coSS, v3coSS) < 0.5f || dist_squared_to_line_v2(v2coSS, v3coSS, v1coSS) < 0.5f) { - colinear = true; + collinear = true; } /* get the UV space bounding box */ @@ -2077,7 +2077,7 @@ static void project_bucket_clip_face( return; } /* handle pathological case here, no need for further intersections below since tringle area is almost zero */ - if (colinear) { + if (collinear) { int flag; (*tot) = 0; |