Commit: eb8e656b2b82615e42a85bdee73a2e78b8359a69
Author: Campbell Barton
Date:   Fri Mar 8 17:48:49 2019 +1100
Branches: master
https://developer.blender.org/rBeb8e656b2b82615e42a85bdee73a2e78b8359a69

Cleanup: spelling

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

M       source/blender/blenlib/intern/math_statistics.c
M       source/blender/blenlib/intern/task.c
M       source/blender/editors/gizmo_library/gizmo_types/cage2d_gizmo.c
M       source/blender/editors/gpencil/drawgpencil.c
M       source/blender/editors/gpencil/gpencil_paint.c
M       source/blender/editors/io/io_cache.c
M       source/blender/editors/mesh/editmesh_select.c
M       source/blender/editors/screen/screen_ops.c
M       source/blender/editors/sculpt_paint/paint_vertex.c
M       source/blender/editors/sculpt_paint/sculpt.c
M       source/blender/editors/space_outliner/outliner_tree.c
M       source/blender/editors/space_view3d/view3d_select.c
M       source/blender/editors/transform/transform.c
M       source/blender/editors/transform/transform.h
M       source/blender/makesdna/DNA_anim_types.h
M       source/blender/makesdna/DNA_screen_types.h
M       source/blender/makesdna/DNA_workspace_types.h

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

diff --git a/source/blender/blenlib/intern/math_statistics.c 
b/source/blender/blenlib/intern/math_statistics.c
index 4ad01812474..e96638a4618 100644
--- a/source/blender/blenlib/intern/math_statistics.c
+++ b/source/blender/blenlib/intern/math_statistics.c
@@ -54,7 +54,7 @@ static void covariance_m_vn_ex_task_cb(
 
        int k;
 
-       /* Covariance matrices are always symetrical, so we can compute only 
one half of it,
+       /* Covariance matrices are always symmetrical, so we can compute only 
one half of it,
         * and mirror it to the other half (at the end of the func).
         *
         * This allows using a flat loop of n*n with same results as imbricated 
one over half the matrix:
diff --git a/source/blender/blenlib/intern/task.c 
b/source/blender/blenlib/intern/task.c
index 84e89bdec91..e2feef16049 100644
--- a/source/blender/blenlib/intern/task.c
+++ b/source/blender/blenlib/intern/task.c
@@ -728,7 +728,7 @@ TaskPool *BLI_task_pool_create_background(TaskScheduler 
*scheduler, void *userda
 
 /**
  * Similar to BLI_task_pool_create() but does not schedule any tasks for 
execution
- * for until BLI_task_pool_work_and_wait() is called. This helps reducing 
therading
+ * for until BLI_task_pool_work_and_wait() is called. This helps reducing 
threading
  * overhead when pushing huge amount of small initial tasks from the main 
thread.
  */
 TaskPool *BLI_task_pool_create_suspended(TaskScheduler *scheduler, void 
*userdata)
diff --git a/source/blender/editors/gizmo_library/gizmo_types/cage2d_gizmo.c 
b/source/blender/editors/gizmo_library/gizmo_types/cage2d_gizmo.c
index 92fe643fca6..d25f982fc23 100644
--- a/source/blender/editors/gizmo_library/gizmo_types/cage2d_gizmo.c
+++ b/source/blender/editors/gizmo_library/gizmo_types/cage2d_gizmo.c
@@ -846,7 +846,7 @@ static int gizmo_cage2d_modal(
                return OPERATOR_RUNNING_MODAL;
        }
        /* For transform logic to be manageable we operate in -0.5..0.5 2D 
space,
-        * no matter the size of the rectangle, mouse coorts are scaled to unit 
space.
+        * no matter the size of the rectangle, mouse coords are scaled to unit 
space.
         * The mouse coords have been projected into the matrix so we don't 
need to worry about axis alignment.
         *
         * - The cursor offset are multiplied by 'dims'.
diff --git a/source/blender/editors/gpencil/drawgpencil.c 
b/source/blender/editors/gpencil/drawgpencil.c
index 37927aba0c5..dafc9507bd1 100644
--- a/source/blender/editors/gpencil/drawgpencil.c
+++ b/source/blender/editors/gpencil/drawgpencil.c
@@ -1730,7 +1730,7 @@ void ED_gpencil_draw_view3d_object(wmWindowManager *wm, 
Scene *scene, Depsgraph
        }
 
        if ((wm == NULL) || ED_screen_animation_playing(wm)) {
-               /* don't show onionskins during animation playback/scrub (i.e. 
it obscures the poses)
+               /* don't show onion-skins during animation playback/scrub (i.e. 
it obscures the poses)
                 * OpenGL Renders (i.e. final output), or depth buffer (i.e. 
not real strokes)
                 */
                dflag |= GP_DRAWDATA_NO_ONIONS;
diff --git a/source/blender/editors/gpencil/gpencil_paint.c 
b/source/blender/editors/gpencil/gpencil_paint.c
index 6cd76fb71ed..a9d680fd7d9 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -1350,9 +1350,10 @@ static void gp_free_stroke(bGPdata *gpd, bGPDframe *gpf, 
bGPDstroke *gps)
        gp_update_cache(gpd);
 }
 
-/* analyze points to be removed when soft eraser is used
- * to avoid that segments gets the end points rounded. This
- * round cpas breaks the artistic effect.
+/**
+ * Analyze points to be removed when soft eraser is used
+ * to avoid that segments gets the end points rounded.
+ * The round caps breaks the artistic effect.
  */
 static void gp_stroke_soft_refine(bGPDstroke *gps, const float cull_thresh)
 {
@@ -2020,7 +2021,7 @@ static tGPsdata *gp_session_initpaint(bContext *C, 
wmOperator *op)
        /* Create new context data */
        p = MEM_callocN(sizeof(tGPsdata), "GPencil Drawing Data");
 
-       /* Try to initialise context data
+       /* Try to initialize context data
         * WARNING: This may not always succeed (e.g. using GP in an 
annotation-only context)
         */
        if (gp_session_initdata(C, op, p) == 0) {
diff --git a/source/blender/editors/io/io_cache.c 
b/source/blender/editors/io/io_cache.c
index 6ec34ead9a8..300382d3071 100644
--- a/source/blender/editors/io/io_cache.c
+++ b/source/blender/editors/io/io_cache.c
@@ -100,8 +100,8 @@ static int cachefile_open_exec(bContext *C, wmOperator *op)
                /* hook into UI */
                PropertyPointerRNA *pprop = op->customdata;
                if (pprop->prop) {
-                       /* when creating new ID blocks, use is already 1, but 
RNA
-                        * pointer se also increases user, so this compensates 
it */
+                       /* When creating new ID blocks, use is already 1, but 
RNA
+                        * pointer see also increases user, so this compensates 
it. */
                        id_us_min(&cache_file->id);
 
                        PointerRNA idptr;
diff --git a/source/blender/editors/mesh/editmesh_select.c 
b/source/blender/editors/mesh/editmesh_select.c
index 796df504d31..80d23f37e71 100644
--- a/source/blender/editors/mesh/editmesh_select.c
+++ b/source/blender/editors/mesh/editmesh_select.c
@@ -3605,7 +3605,7 @@ void MESH_OT_select_less(wmOperatorType *ot)
  * \{ */
 
 /**
- * Check if we're connected to another selected efge.
+ * Check if we're connected to another selected edge.
  */
 static bool bm_edge_is_select_isolated(BMEdge *e)
 {
diff --git a/source/blender/editors/screen/screen_ops.c 
b/source/blender/editors/screen/screen_ops.c
index 15e8d5a3eb4..bb56d127b31 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -4163,8 +4163,8 @@ static int screen_animation_step(bContext *C, wmOperator 
*UNUSED(op), const wmEv
                 */
                ED_refresh_viewport_fps(C);
 
-               /* recalculate the timestep for the timer now that we've 
finished calculating this,
-                * since the frames-per-second value may have been changed
+               /* Recalculate the time-step for the timer now that we've 
finished calculating this,
+                * since the frames-per-second value may have been changed.
                 */
                /* TODO: this may make evaluation a bit slower if the value 
doesn't change... any way to avoid this? */
                wt->timestep = (1.0 / FPS);
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c 
b/source/blender/editors/sculpt_paint/paint_vertex.c
index 26da6d60051..f1ada42100d 100644
--- a/source/blender/editors/sculpt_paint/paint_vertex.c
+++ b/source/blender/editors/sculpt_paint/paint_vertex.c
@@ -1683,7 +1683,7 @@ static void do_wpaint_brush_blur_task_cb_ex(
        {
                /* Test to see if the vertex coordinates are within the 
spherical brush region. */
                if (sculpt_brush_test_sq_fn(&test, vd.co)) {
-                       /* For grid based pbvh, take the vert whose loop 
coopresponds to the current grid.
+                       /* For grid based pbvh, take the vert whose loop 
corresponds to the current grid.
                         * Otherwise, take the current vert. */
                        const int v_index = has_grids ? 
data->me->mloop[vd.grid_indices[vd.g]].v : vd.vert_indices[vd.i];
                        const float grid_alpha = has_grids ? 1.0f / vd.gridsize 
: 1.0f;
@@ -1780,7 +1780,7 @@ static void do_wpaint_brush_smear_task_cb_ex(
                {
                        /* Test to see if the vertex coordinates are within the 
spherical brush region. */
                        if (sculpt_brush_test_sq_fn(&test, vd.co)) {
-                               /* For grid based pbvh, take the vert whose 
loop cooresponds to the current grid.
+                               /* For grid based pbvh, take the vert whose 
loop corresponds to the current grid.
                                 * Otherwise, take the current vert. */
                                const int v_index = has_grids ? 
data->me->mloop[vd.grid_indices[vd.g]].v : vd.vert_indices[vd.i];
                                const float grid_alpha = has_grids ? 1.0f / 
vd.gridsize : 1.0f;
diff --git a/source/blender/editors/sculpt_paint/sculpt.c 
b/source/blender/editors/sculpt_paint/sculpt.c
index 7bce2464ef7..69b768c4318 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -1611,15 +1611,15 @@ static void bmesh_four_neighbor_average(float avg[3], 
float direction[3], BMVert
                return;
        }
 
-       /* Project the direction to the vertex normal and create an aditional
+       /* Project the direction to the vertex normal and create an additional
         * parallel vector. */
        float dir_a[3], dir_b[3];
        cross_v3_v3v3(dir_a, direction, v->no);
        cross_v3_v3v3(dir_b, dir_a, v->no);
 
        /* The four vectors which will be used for smoothing.
-        * Ocasionally less than 4 verts match the requirements in that case
-        * use v as fallback. */
+        * Occasionally less than 4 verts match the requirements in that case
+        * use 'v' as fallback. */
        BMVert *pos_a = v;
        BMVert *neg_a = v;
        BMVert *pos_b = v;
diff --git a/source/blender/editors/space_outliner/outliner_tree.c 
b/source/blender/editors/space_outliner/outliner_tree.c
index a0202b1810f..18623fc0b5e 100644
--- a/source/blender/editors/space_outliner/outliner_tree.c
+++ b/source/blender/editors/space_outliner/outliner_tree.c
@@ -204,8 +204,8 @@ void outliner_cleanup_tree(SpaceOutliner *soops)
 /**
  * Free \a element and its sub-tree and remove its link in \a parent_subtree.
  *
- * \note Does not remove the TreeStoreElem of \a element!
- * \param parent_subtree: Subtree of the parent element, so the list 
containing \a element.
+ * \note Does not remove the #TreeStoreElem of \a element!
+ * \param parent_subtree: Sub-tree of the parent element, so the list 
containing \a element.
  */
 void outliner_free_tree_element(TreeElement *element, ListBase *parent_subtree)
 {
@@ -1619,7 +1619,7 @@ static TreeElement 
*outliner_find_first_desired_element_at_y_recursive(
  * Find the first element that passes a test starting from a reference 
vertical coordinate
  *
  * If the element that is in the position is not what we are looking for, keep 
looking for its
- * children, siblings, and eventually, aunts, cousins, disntant families, ...
+ * children, siblings, and eventually, aunts, cousins, distant families, ... 
etc.
  *
  * Basically we keep going up and down the outliner tree from that point 
forward, until we find
  * what we are looking for. If we are past the visible range and we can't find 
a valid element
diff --git a/source/blender/editors/space_view3d/view3d_select.c 
b/source/blender/editors/space_view3d/view3d_select.c
index 63308b5af21..fc13968def7 100644
--- a/source/blender/editors/

@@ Diff output truncated at 10240 characters. @@

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

Reply via email to