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/paint_vertex.c
parent4bfa256ea48e51643f848e8dfdaeab615f7b1a88 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_vertex.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_vertex.c8
1 files changed, 4 insertions, 4 deletions
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);