Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix
No functional changes
This commit is contained in:
@@ -54,10 +54,9 @@ void NodeGraph::from_bNodeTree(const CompositorContext &context, bNodeTree *tree
|
||||
add_bNodeTree(context, 0, tree, NODE_INSTANCE_KEY_BASE);
|
||||
}
|
||||
|
||||
bNodeSocket *NodeGraph::find_b_node_input(bNode *b_group_node, const char *identifier)
|
||||
bNodeSocket *NodeGraph::find_b_node_input(bNode *b_node, const char *identifier)
|
||||
{
|
||||
for (bNodeSocket *b_sock = (bNodeSocket *)b_group_node->inputs.first; b_sock;
|
||||
b_sock = b_sock->next) {
|
||||
for (bNodeSocket *b_sock = (bNodeSocket *)b_node->inputs.first; b_sock; b_sock = b_sock->next) {
|
||||
if (STREQ(b_sock->identifier, identifier)) {
|
||||
return b_sock;
|
||||
}
|
||||
@@ -65,10 +64,9 @@ bNodeSocket *NodeGraph::find_b_node_input(bNode *b_group_node, const char *ident
|
||||
return NULL;
|
||||
}
|
||||
|
||||
bNodeSocket *NodeGraph::find_b_node_output(bNode *b_group_node, const char *identifier)
|
||||
bNodeSocket *NodeGraph::find_b_node_output(bNode *b_node, const char *identifier)
|
||||
{
|
||||
for (bNodeSocket *b_sock = (bNodeSocket *)b_group_node->outputs.first; b_sock;
|
||||
b_sock = b_sock->next) {
|
||||
for (bNodeSocket *b_sock = (bNodeSocket *)b_node->outputs.first; b_sock; b_sock = b_sock->next) {
|
||||
if (STREQ(b_sock->identifier, identifier)) {
|
||||
return b_sock;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user