Commit: 30d951ce34da6a1c3c17268505a91f1b9cf38087
Author: Campbell Barton
Date:   Fri Jul 8 09:46:12 2016 +1000
Branches: master
https://developer.blender.org/rB30d951ce34da6a1c3c17268505a91f1b9cf38087

Cleanup: spelling

===================================================================

M       source/blender/bmesh/intern/bmesh_marking.c
M       source/blender/bmesh/intern/bmesh_polygon.c
M       source/blender/editors/space_file/filesel.c
M       source/blender/freestyle/intern/view_map/FEdgeXDetector.cpp

===================================================================

diff --git a/source/blender/bmesh/intern/bmesh_marking.c 
b/source/blender/bmesh/intern/bmesh_marking.c
index d6ca723..7178a81 100644
--- a/source/blender/bmesh/intern/bmesh_marking.c
+++ b/source/blender/bmesh/intern/bmesh_marking.c
@@ -842,7 +842,7 @@ void BM_editselection_normal(BMEditSelection *ese, float 
r_normal[3])
                
                /* the 2 vertex normals will be close but not at rightangles to 
the edge
                 * for rotate about edge we want them to be at right angles, so 
we need to
-                * do some extra colculation to correct the vert normals,
+                * do some extra calculation to correct the vert normals,
                 * we need the plane for this */
                cross_v3_v3v3(vec, r_normal, plane);
                cross_v3_v3v3(r_normal, plane, vec);
diff --git a/source/blender/bmesh/intern/bmesh_polygon.c 
b/source/blender/bmesh/intern/bmesh_polygon.c
index 870f8c7f..13b6a3c 100644
--- a/source/blender/bmesh/intern/bmesh_polygon.c
+++ b/source/blender/bmesh/intern/bmesh_polygon.c
@@ -371,7 +371,7 @@ void BM_vert_tri_calc_tangent_edge_pair(BMVert *verts[3], 
float r_tangent[3])
 }
 
 /**
- * Compute the tanget of the face, using the longest edge.
+ * Compute the tangent of the face, using the longest edge.
  */
 void  BM_face_calc_tangent_edge(const BMFace *f, float r_tangent[3])
 {
@@ -384,7 +384,7 @@ void  BM_face_calc_tangent_edge(const BMFace *f, float 
r_tangent[3])
 }
 
 /**
- * Compute the tanget of the face, using the two longest disconnected edges.
+ * Compute the tangent of the face, using the two longest disconnected edges.
  *
  * \param r_tangent: Calculated unit length tangent (return value).
  */
@@ -449,7 +449,7 @@ void  BM_face_calc_tangent_edge_pair(const BMFace *f, float 
r_tangent[3])
 }
 
 /**
- * Compute the tanget of the face, using the edge farthest away from any 
vertex in the face.
+ * Compute the tangent of the face, using the edge farthest away from any 
vertex in the face.
  *
  * \param r_tangent: Calculated unit length tangent (return value).
  */
@@ -485,7 +485,7 @@ void  BM_face_calc_tangent_edge_diagonal(const BMFace *f, 
float r_tangent[3])
 }
 
 /**
- * Compute the tanget of the face, using longest distance between vertices on 
the face.
+ * Compute the tangent of the face, using longest distance between vertices on 
the face.
  *
  * \note The logic is almost identical to #BM_face_calc_tangent_edge_diagonal
  */
diff --git a/source/blender/editors/space_file/filesel.c 
b/source/blender/editors/space_file/filesel.c
index 8ae2ed6..ab33d45 100644
--- a/source/blender/editors/space_file/filesel.c
+++ b/source/blender/editors/space_file/filesel.c
@@ -618,7 +618,7 @@ int file_select_match(struct SpaceFile *sfile, const char 
*pattern, char *matche
         */
        for (i = 0; i < n; i++) {
                file = filelist_file(sfile->files, i);
-               /* Do not check weather file is a file or dir here! Causes 
T44243 (we do accept dirs at this stage). */
+               /* Do not check whether file is a file or dir here! Causes 
T44243 (we do accept dirs at this stage). */
                if (fnmatch(pattern, file->relpath, 0) == 0) {
                        filelist_entry_select_set(sfile->files, file, 
FILE_SEL_ADD, FILE_SEL_SELECTED, CHECK_ALL);
                        if (!match) {
diff --git a/source/blender/freestyle/intern/view_map/FEdgeXDetector.cpp 
b/source/blender/freestyle/intern/view_map/FEdgeXDetector.cpp
index 6f2a89e..a97e60d 100644
--- a/source/blender/freestyle/intern/view_map/FEdgeXDetector.cpp
+++ b/source/blender/freestyle/intern/view_map/FEdgeXDetector.cpp
@@ -640,7 +640,7 @@ void 
FEdgeXDetector::postProcessSuggestiveContourFace(WXFace *iFace)
                        normal_vec = wxf->GetVertexNormal(v); // FIXME: what 
about e1 ^ e2 ?
                        radial_normal_vec = er_vec ^ normal_vec;
 
-                       // Test weather the radial plan intersects with the 
edge at the opposite of v.
+                       // Test whether the radial plan intersects with the 
edge at the opposite of v.
                        res = 
GeomUtils::intersectRayPlane(opposite_vertex_a->GetVertex(), 
opposite_edge->GetVec(),
                                                           radial_normal_vec, 
-(v_vec * radial_normal_vec),
                                                           t, 1.0e-06);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to