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:
authorBrecht Van Lommel <brecht@blender.org>2022-04-05 23:21:13 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-04-05 23:21:13 +0300
commit5f1adfc508cfa117aeead20462f82233d36dca6f (patch)
tree49a6185214bfd249b0c44139bde4f84456672294 /source/blender
parent0d43ff43a48978012f58b412b89097c6204c966a (diff)
Cleanup: fix various typos
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D14443
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenlib/intern/array_store.c2
-rw-r--r--source/blender/freestyle/intern/stroke/StrokeTesselator.h2
-rw-r--r--source/blender/freestyle/intern/view_map/ViewMapTesselator.h4
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_convex_hull.cc2
4 files changed, 5 insertions, 5 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);
}
}