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:
authorErik Abrahamsson <ecke101@gmail.com>2022-08-07 20:48:28 +0300
committerErik Abrahamsson <ecke101@gmail.com>2022-08-07 20:48:28 +0300
commit6e8709caa374335447b7ac4ad201396cc81423b0 (patch)
tree5c65aeff1a8f9611d3d067e6a260f8eebbbcd6ae /source/blender/blenkernel/BKE_attribute_math.hh
parent31674b9d141ccd5bc310b638828d4e1cce6546a5 (diff)
Cleanup: Fix typo Propatation -> Propagation
Fixes the typo in the struct `DefaultPropatationMixerStruct`.
Diffstat (limited to 'source/blender/blenkernel/BKE_attribute_math.hh')
-rw-r--r--source/blender/blenkernel/BKE_attribute_math.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_attribute_math.hh b/source/blender/blenkernel/BKE_attribute_math.hh
index 0a8e013abf2..770937688d7 100644
--- a/source/blender/blenkernel/BKE_attribute_math.hh
+++ b/source/blender/blenkernel/BKE_attribute_math.hh
@@ -464,12 +464,12 @@ template<> struct DefaultMixerStruct<int8_t> {
using type = SimpleMixerWithAccumulationType<int8_t, float, float_to_int8_t>;
};
-template<typename T> struct DefaultPropatationMixerStruct {
+template<typename T> struct DefaultPropagationMixerStruct {
/* Use void by default. This can be checked for in `if constexpr` statements. */
using type = typename DefaultMixerStruct<T>::type;
};
-template<> struct DefaultPropatationMixerStruct<bool> {
+template<> struct DefaultPropagationMixerStruct<bool> {
using type = BooleanPropagationMixer;
};
@@ -479,7 +479,7 @@ template<> struct DefaultPropatationMixerStruct<bool> {
* (the default mixing for booleans).
*/
template<typename T>
-using DefaultPropatationMixer = typename DefaultPropatationMixerStruct<T>::type;
+using DefaultPropagationMixer = typename DefaultPropagationMixerStruct<T>::type;
/* Utility to get a good default mixer for a given type. This is `void` when there is no default
* mixer for the given type. */