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/sculpt_paint
parent4bfa256ea48e51643f848e8dfdaeab615f7b1a88 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-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
4 files changed, 8 insertions, 8 deletions
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);