diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-04-05 23:21:13 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-04-05 23:21:13 +0300 |
commit | 5f1adfc508cfa117aeead20462f82233d36dca6f (patch) | |
tree | 49a6185214bfd249b0c44139bde4f84456672294 /source | |
parent | 0d43ff43a48978012f58b412b89097c6204c966a (diff) |
Cleanup: fix various typos
Contributed by luzpaz.
Differential Revision: https://developer.blender.org/D14443
Diffstat (limited to 'source')
5 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenlib/intern/array_store.c b/source/blender/blenlib/intern/array_store.c index 3ea004c2721..9a8bda48c8d 100644 --- a/source/blender/blenlib/intern/array_store.c +++ b/source/blender/blenlib/intern/array_store.c @@ -40,7 +40,7 @@ * | | Each state is a chunk_list user, * | | avoids duplicating lists when there is no change between states. * | | - * | +- chunk_refs (List of BChunkRef): Each chunk_ref links to a a BChunk. + * | +- chunk_refs (List of BChunkRef): Each chunk_ref links to a BChunk. * | Each reference is a chunk user, * | avoids duplicating smaller chunks of memory found in multiple states. * | diff --git a/source/blender/freestyle/intern/stroke/StrokeTesselator.h b/source/blender/freestyle/intern/stroke/StrokeTesselator.h index 3e4184bf6cf..d2dde68e77e 100644 --- a/source/blender/freestyle/intern/stroke/StrokeTesselator.h +++ b/source/blender/freestyle/intern/stroke/StrokeTesselator.h @@ -32,7 +32,7 @@ class StrokeTesselator { /** Builds a line rep contained from a Stroke */ LineRep *Tesselate(Stroke *iStroke); - /** Builds a set of lines rep contained under a a NodeShape, itself contained under a NodeGroup + /** Builds a set of lines rep contained under a NodeShape, itself contained under a NodeGroup * from a set of strokes. */ template<class StrokeIterator> NodeGroup *Tesselate(StrokeIterator begin, StrokeIterator end); diff --git a/source/blender/freestyle/intern/view_map/ViewMapTesselator.h b/source/blender/freestyle/intern/view_map/ViewMapTesselator.h index 9a40ebe7cd7..2da95d47912 100644 --- a/source/blender/freestyle/intern/view_map/ViewMapTesselator.h +++ b/source/blender/freestyle/intern/view_map/ViewMapTesselator.h @@ -42,11 +42,11 @@ class ViewMapTesselator { { } - /** Builds a set of lines rep contained under a a NodeShape, itself contained under a NodeGroup + /** Builds a set of lines rep contained under a NodeShape, itself contained under a NodeGroup * from a ViewMap */ NodeGroup *Tesselate(ViewMap *iViewMap); - /** Builds a set of lines rep contained under a a NodeShape, itself contained under a NodeGroup + /** Builds a set of lines rep contained under a NodeShape, itself contained under a NodeGroup * from a set of view edges */ template<class ViewEdgesIterator> diff --git a/source/blender/nodes/geometry/nodes/node_geo_convex_hull.cc b/source/blender/nodes/geometry/nodes/node_geo_convex_hull.cc index 4792fada98b..87f000897ed 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_convex_hull.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_convex_hull.cc @@ -245,7 +245,7 @@ static void read_curve_positions(const Curves &curves_id, r_coords->reserve(r_coords->size() + total_size * transforms.size()); r_coords->as_mutable_span().take_back(total_size).copy_from(curves.evaluated_positions()); for (const float3 &position : curves.evaluated_positions()) { - r_coords->append(transform * postition); + r_coords->append(transform * position); } } diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index e1f5bb6377d..05b7f1bcb85 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -1644,7 +1644,7 @@ static int arg_handle_scene_set(int argc, const char **argv, void *data) CTX_data_scene_set(C, scene); /* Set the scene of the first window, see: T55991, - * otherwise scrips that run later won't get this scene back from the context. */ + * otherwise scripts that run later won't get this scene back from the context. */ wmWindow *win = CTX_wm_window(C); if (win == NULL) { win = CTX_wm_manager(C)->windows.first; |