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:
authorCampbell Barton <ideasman42@gmail.com>2020-03-04 13:45:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-03-04 13:46:16 +0300
commit6706ae57123357a9e2e3ea518cbafefe55f1cf15 (patch)
treea5206001f68dede0c8078f230225cd94ae41a677 /source/blender/editors
parent4bfa256ea48e51643f848e8dfdaeab615f7b1a88 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/curve/editfont.c2
-rw-r--r--source/blender/editors/sculpt_paint/paint_image_proj.c2
-rw-r--r--source/blender/editors/sculpt_paint/paint_vertex.c8
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c2
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_cloth.c4
-rw-r--r--source/blender/editors/space_graph/graph_select.c2
-rw-r--r--source/blender/editors/space_image/image_sequence.c3
-rw-r--r--source/blender/editors/transform/transform_mode.c2
8 files changed, 12 insertions, 13 deletions
diff --git a/source/blender/editors/curve/editfont.c b/source/blender/editors/curve/editfont.c
index 3db27c20d16..d1ff4cec763 100644
--- a/source/blender/editors/curve/editfont.c
+++ b/source/blender/editors/curve/editfont.c
@@ -2272,7 +2272,7 @@ bool ED_curve_editfont_select_pick(
}
}
- /* bias in pixels to cycle seletion */
+ /* Bias in pixels to cycle selection. */
if (i_iter == 0) {
dist_sq_min += active_bias_px;
}
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c
index d3e5859def2..c980ffdc5d1 100644
--- a/source/blender/editors/sculpt_paint/paint_image_proj.c
+++ b/source/blender/editors/sculpt_paint/paint_image_proj.c
@@ -5682,7 +5682,7 @@ static bool project_paint_op(void *state, const float lastpos[2], const float po
}
}
- /* calculate pivot for rotation around seletion if needed */
+ /* Calculate pivot for rotation around selection if needed. */
if (U.uiflag & USER_ORBIT_SELECTION) {
float w[3];
int tri_index;
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c
index 345a0a95479..6e96b9acca5 100644
--- a/source/blender/editors/sculpt_paint/paint_vertex.c
+++ b/source/blender/editors/sculpt_paint/paint_vertex.c
@@ -2332,8 +2332,8 @@ static void wpaint_stroke_update_step(bContext *C, struct PaintStroke *stroke, P
swap_m4m4(vc->rv3d->persmat, mat);
- /* calculate pivot for rotation around seletion if needed */
- /* also needed for "Frame Selected" on last stroke */
+ /* Calculate pivot for rotation around selection if needed.
+ * also needed for "Frame Selected" on last stroke. */
float loc_world[3];
mul_v3_m4v3(loc_world, ob->obmat, ss->cache->true_location);
paint_last_stroke_update(scene, loc_world);
@@ -3312,8 +3312,8 @@ static void vpaint_stroke_update_step(bContext *C, struct PaintStroke *stroke, P
vpd->smear.color_prev, vpd->smear.color_curr, sizeof(uint) * ((Mesh *)ob->data)->totloop);
}
- /* calculate pivot for rotation around seletion if needed */
- /* also needed for "Frame Selected" on last stroke */
+ /* Calculate pivot for rotation around selection if needed.
+ * also needed for "Frame Selected" on last stroke. */
float loc_world[3];
mul_v3_m4v3(loc_world, ob->obmat, ss->cache->true_location);
paint_last_stroke_update(scene, loc_world);
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 4e321306d91..390b69df7ff 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -1786,7 +1786,7 @@ static float brush_strength(const Sculpt *sd,
case SCULPT_TOOL_LAYER:
return alpha * flip * pressure * overlap * feather;
case SCULPT_TOOL_CLOTH:
- /* Ex/pand is more sensible to strength as it keeps expanding the cloth when sculpting over
+ /* Expand is more sensible to strength as it keeps expanding the cloth when sculpting over
* the same vertices. */
if (brush->cloth_deform_type == BRUSH_CLOTH_DEFORM_EXPAND) {
return 0.1f * alpha * flip * pressure * overlap * feather;
diff --git a/source/blender/editors/sculpt_paint/sculpt_cloth.c b/source/blender/editors/sculpt_paint/sculpt_cloth.c
index 7474a7de629..295e7e50d73 100644
--- a/source/blender/editors/sculpt_paint/sculpt_cloth.c
+++ b/source/blender/editors/sculpt_paint/sculpt_cloth.c
@@ -408,9 +408,9 @@ static void cloth_brush_build_nodes_constraints(Sculpt *sd,
{
Brush *brush = BKE_paint_brush(&sd->paint);
- /* TODO: Multithreaded needs to be disabled for this task until implementing the optimization of
+ /* TODO: Multi-threaded needs to be disabled for this task until implementing the optimization of
* storing the constraints per node. */
- /* Currently all constrains are added to the same global array which can't be accesed from
+ /* Currently all constrains are added to the same global array which can't be accessed from
* different threads. */
PBVHParallelSettings settings;
BKE_pbvh_parallel_range_settings(&settings, false, totnode);
diff --git a/source/blender/editors/space_graph/graph_select.c b/source/blender/editors/space_graph/graph_select.c
index a3f7496d13b..82b8277cde5 100644
--- a/source/blender/editors/space_graph/graph_select.c
+++ b/source/blender/editors/space_graph/graph_select.c
@@ -1485,7 +1485,7 @@ static int mouse_graph_keys(bAnimContext *ac,
if (!curves_only && ((nvi->fcu->flag & FCURVE_PROTECTED) == 0)) {
/* only if there's keyframe */
if (nvi->bezt) {
- bezt = nvi->bezt; /* used to check bezt seletion is set */
+ bezt = nvi->bezt; /* Used to check `bezt` selection is set. */
/* depends on selection mode */
if (select_mode == SELECT_INVERT) {
if (nvi->hpoint == NEAREST_HANDLE_KEY) {
diff --git a/source/blender/editors/space_image/image_sequence.c b/source/blender/editors/space_image/image_sequence.c
index 09e717621d8..cc6fe38866d 100644
--- a/source/blender/editors/space_image/image_sequence.c
+++ b/source/blender/editors/space_image/image_sequence.c
@@ -57,8 +57,7 @@ typedef struct ImageFrame {
* name sequence pattern. The files and directory are read from standard
* fileselect operator properties.
*
- * The output is a list of frame ranges, each containg a list of frames with
- * matching names.
+ * The output is a list of frame ranges, each containing a list of frames with matching names.
*/
static void image_sequence_get_frame_ranges(wmOperator *op, ListBase *ranges)
{
diff --git a/source/blender/editors/transform/transform_mode.c b/source/blender/editors/transform/transform_mode.c
index cdd29ccf24f..326fb791de3 100644
--- a/source/blender/editors/transform/transform_mode.c
+++ b/source/blender/editors/transform/transform_mode.c
@@ -490,7 +490,7 @@ static void constraintSizeLim(TransInfo *t, TransData *td)
/* -------------------------------------------------------------------- */
/* Transform (Rotation Utils) */
-/** \name Transform Rotaion Utils
+/** \name Transform Rotation Utils
* \{ */
/* Used by Transform Rotation and Transform Normal Rotation */
void headerRotation(TransInfo *t, char str[UI_MAX_DRAW_STR], float final)