From d52326bab39d6222e7cdc9613396aa6553757e2e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 3 Apr 2020 12:38:04 +1100 Subject: Cleanup: spelling --- source/blender/blenkernel/BKE_subdiv_ccg.h | 4 ++-- source/blender/blenkernel/BKE_subdiv_deform.h | 4 ++-- source/blender/blenkernel/intern/subdiv_foreach.c | 2 +- source/blender/blenloader/intern/writefile.c | 6 +++--- source/blender/editors/gpencil/annotate_draw.c | 2 +- source/blender/editors/object/object_remesh.c | 2 +- source/blender/editors/sculpt_paint/sculpt_intern.h | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) (limited to 'source/blender') diff --git a/source/blender/blenkernel/BKE_subdiv_ccg.h b/source/blender/blenkernel/BKE_subdiv_ccg.h index 99b134dab3e..6f886a4b850 100644 --- a/source/blender/blenkernel/BKE_subdiv_ccg.h +++ b/source/blender/blenkernel/BKE_subdiv_ccg.h @@ -218,8 +218,8 @@ typedef struct SubdivCCG { /* Create CCG representation of subdivision surface. * - * NOTE: CCG stores dense verticies in a grid-like storage. There is no edges or - * polygons informations for the high-poly surface. + * NOTE: CCG stores dense vertices in a grid-like storage. There is no edges or + * polygons information's for the high-poly surface. * * NOTE: Subdiv is expected to be refined and ready for evaluation. * NOTE: CCG becomes an owner of subdiv. diff --git a/source/blender/blenkernel/BKE_subdiv_deform.h b/source/blender/blenkernel/BKE_subdiv_deform.h index 11ef225de27..735cd20a6c8 100644 --- a/source/blender/blenkernel/BKE_subdiv_deform.h +++ b/source/blender/blenkernel/BKE_subdiv_deform.h @@ -34,10 +34,10 @@ struct Mesh; struct Subdiv; /* Special version of subdivision surface which calculates final positions for coarse vertices. - * Effectively is pushsing the coarse positions to the limit surface. + * Effectively is pushing the coarse positions to the limit surface. * * One of the usage examples is calculation of crazy space of subdivision modifier, allowing to - * paint on a deformed mesh with subsurf on it. + * paint on a deformed mesh with sub-surf on it. * * vertex_cos are supposed to hold coordinates of the coarse mesh. */ void BKE_subdiv_deform_coarse_vertices(struct Subdiv *subdiv, diff --git a/source/blender/blenkernel/intern/subdiv_foreach.c b/source/blender/blenkernel/intern/subdiv_foreach.c index 6e39f9f302b..b31fb2c9312 100644 --- a/source/blender/blenkernel/intern/subdiv_foreach.c +++ b/source/blender/blenkernel/intern/subdiv_foreach.c @@ -1880,7 +1880,7 @@ bool BKE_subdiv_foreach_subdiv_geometry(Subdiv *subdiv, * the tasks into it. * NOTE: Watch out for callbacks which needs to run for loose geometry as they * currently are relying on the fact that face/grid callbacks will tag non- - * loose geomtry. */ + * loose geometry. */ BLI_task_parallel_range( 0, coarse_mesh->totpoly, &ctx, subdiv_foreach_task, ¶llel_range_settings); diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index 693c4f8cced..6851fb67fed 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -2818,9 +2818,9 @@ static void write_scene(WriteData *wd, Scene *sce, const void *id_address) static void write_gpencil(WriteData *wd, bGPdata *gpd, const void *id_address) { if (gpd->id.us > 0 || wd->use_memfile) { - /* Clean up, important in undo case to reduce false detection of changed datablocks. */ - /* XXX not sure why the whole runtime data is not cleared in readcode, for now mimicking it - * here. */ + /* Clean up, important in undo case to reduce false detection of changed data-blocks. */ + /* XXX not sure why the whole run-time data is not cleared in reading code, + * for now mimicking it here. */ gpd->runtime.sbuffer = NULL; gpd->runtime.sbuffer_used = 0; gpd->runtime.sbuffer_size = 0; diff --git a/source/blender/editors/gpencil/annotate_draw.c b/source/blender/editors/gpencil/annotate_draw.c index fc62defd757..3e2c3b17241 100644 --- a/source/blender/editors/gpencil/annotate_draw.c +++ b/source/blender/editors/gpencil/annotate_draw.c @@ -353,7 +353,7 @@ static void annotation_draw_stroke_2d(const bGPDspoint *points, /* Tessellation code - draw stroke as series of connected quads * (triangle strips in fact) with connection edges rotated to minimize shrinking artifacts, - * and rounded endcaps. + * and rounded end-caps. */ { const bGPDspoint *pt1, *pt2; diff --git a/source/blender/editors/object/object_remesh.c b/source/blender/editors/object/object_remesh.c index 92187bbf0c5..8a803821fe4 100644 --- a/source/blender/editors/object/object_remesh.c +++ b/source/blender/editors/object/object_remesh.c @@ -409,7 +409,7 @@ static int voxel_size_edit_modal(bContext *C, wmOperator *op, const wmEvent *eve d = d * 0.0005f; } else { - /* Multiply d by the initial voxel size to prevent incontrolable speeds when using low voxel + /* Multiply d by the initial voxel size to prevent uncontrollable speeds when using low voxel * sizes. */ /* When the voxel size is slower, it needs more precision. */ d = d * min_ff(pow2f(cd->init_voxel_size), 0.1f) * 0.05f; diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index 478d2be9a30..f0481582571 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -303,7 +303,7 @@ typedef enum { * Is used as a storage for either original or modified geometry. */ typedef struct SculptUndoNodeGeometry { /* Is used for sanity check, helping with ensuring that two and only two - * geometry pushes happenned in the undo stack. */ + * geometry pushes happened in the undo stack. */ bool is_initialized; CustomData vdata; -- cgit v1.2.3