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:
authorHarley Acheson <harley.acheson@gmail.com>2021-06-29 06:58:17 +0300
committerHarley Acheson <harley.acheson@gmail.com>2021-06-29 06:58:17 +0300
commit28135c06bb5406feaea250d9aafeb7df51fa7cef (patch)
treed6a6f2d0315dacdd89468b20c1a3d606fa52da73 /source/blender/editors/space_node
parent24c321cfe9b0fb1ac4fa610b9b3387916079660c (diff)
Typo in function identifier: mutli -> multi
Fixing small typo of word "multi" in function identifier by renaming "count_mutli_input_socket_links" to "count_multi_input_socket_links" Differential Revision: https://developer.blender.org/D11732 Reviewed by Hans Goudey
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r--source/blender/editors/space_node/node_draw.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/node_draw.cc b/source/blender/editors/space_node/node_draw.cc
index 1dc8e1412af..b9dad060121 100644
--- a/source/blender/editors/space_node/node_draw.cc
+++ b/source/blender/editors/space_node/node_draw.cc
@@ -1766,7 +1766,7 @@ static void node_update(const bContext *C, bNodeTree *ntree, bNode *node)
}
}
-static void count_mutli_input_socket_links(bNodeTree *ntree, SpaceNode *snode)
+static void count_multi_input_socket_links(bNodeTree *ntree, SpaceNode *snode)
{
Map<bNodeSocket *, int> counts;
LISTBASE_FOREACH (bNodeLink *, link, &ntree->links) {
@@ -1800,7 +1800,7 @@ void node_update_nodetree(const bContext *C, bNodeTree *ntree)
SpaceNode *snode = CTX_wm_space_node(C);
ntreeTagUsedSockets(ntree);
- count_mutli_input_socket_links(ntree, snode);
+ count_multi_input_socket_links(ntree, snode);
/* Update nodes front to back, so children sizes get updated before parents. */
LISTBASE_FOREACH_BACKWARD (bNode *, node, &ntree->nodes) {