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
path: root/source
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-01-24 06:58:45 +0300
committerHans Goudey <h.goudey@me.com>2022-01-24 06:58:51 +0300
commit47f02e1227af7aab01d41c3a7c0076e2de06aec8 (patch)
tree0ae8645103618112d1e77d108e87d46a2f695b9a /source
parentdf1ef9d32ae96db93367115d3f7c496a22748b97 (diff)
Cleanup: Fix typos
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/BKE_attribute_math.hh7
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_extrude_mesh.cc2
2 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_attribute_math.hh b/source/blender/blenkernel/BKE_attribute_math.hh
index 36a08b18963..5ce4ae024f4 100644
--- a/source/blender/blenkernel/BKE_attribute_math.hh
+++ b/source/blender/blenkernel/BKE_attribute_math.hh
@@ -373,8 +373,11 @@ template<> struct DefaultPropatationMixerStruct<bool> {
using type = BooleanPropagationMixer;
};
-/* This mixer is meant for propagating attributes when creating new geometry. A key difference
- * with the default mixer is that booleans are mixed with "or" instead of "at least half". */
+/**
+ * This mixer is meant for propagating attributes when creating new geometry. A key difference
+ * with the default mixer is that booleans are mixed with "or" instead of "at least half"
+ * (the default mixing for booleans).
+ */
template<typename T>
using DefaultPropatationMixer = typename DefaultPropatationMixerStruct<T>::type;
diff --git a/source/blender/nodes/geometry/nodes/node_geo_extrude_mesh.cc b/source/blender/nodes/geometry/nodes/node_geo_extrude_mesh.cc
index 8d311906527..97237030cbb 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_extrude_mesh.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_extrude_mesh.cc
@@ -1191,7 +1191,7 @@ static void extrude_individual_mesh_faces(MeshComponent &component,
break;
}
case ATTR_DOMAIN_FACE: {
- /* Each side face gets the values from the correspoinding new face. */
+ /* Each side face gets the values from the corresponding new face. */
MutableSpan<T> new_data = data.slice(side_poly_range);
threading::parallel_for(poly_selection.index_range(), 1024, [&](const IndexRange range) {
for (const int i_selection : range) {