From 4b9ff3cd42be427e478743648e9951bf8c189a04 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 24 Jun 2021 15:56:58 +1000 Subject: Cleanup: comment blocks, trailing space in comments --- source/blender/nodes/intern/derived_node_tree.cc | 2 +- source/blender/nodes/intern/node_tree_ref.cc | 2 +- source/blender/nodes/shader/node_shader_tree.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/nodes') diff --git a/source/blender/nodes/intern/derived_node_tree.cc b/source/blender/nodes/intern/derived_node_tree.cc index 9a3eb574bcd..3d5557d4049 100644 --- a/source/blender/nodes/intern/derived_node_tree.cc +++ b/source/blender/nodes/intern/derived_node_tree.cc @@ -230,7 +230,7 @@ void DInputSocket::foreach_origin_socket(FunctionRef origin_fn) c /* Calls `target_fn` for every "real" target socket. "Real" means that reroutes, muted nodes * and node groups are handled by this function. Target sockets are on the nodes that use the value * from this socket. The `skipped_fn` function is called for sockets that have been skipped during - * the search for target sockets (e.g. reroutes). */ + * the search for target sockets (e.g. reroutes). */ void DOutputSocket::foreach_target_socket(FunctionRef target_fn, FunctionRef skipped_fn) const { diff --git a/source/blender/nodes/intern/node_tree_ref.cc b/source/blender/nodes/intern/node_tree_ref.cc index 154ee716153..6709eb52798 100644 --- a/source/blender/nodes/intern/node_tree_ref.cc +++ b/source/blender/nodes/intern/node_tree_ref.cc @@ -336,7 +336,7 @@ static std::unique_ptr create_identifier_map(const L return map; } -/* This function is not threadsafe. */ +/* This function is not threadsafe. */ static SocketByIdentifierMap get_or_create_identifier_map( const bNode &node, const ListBase &sockets, const bNodeSocketTemplate *sockets_template) { diff --git a/source/blender/nodes/shader/node_shader_tree.c b/source/blender/nodes/shader/node_shader_tree.c index 5ec982c4e7f..e23e2ac3b9d 100644 --- a/source/blender/nodes/shader/node_shader_tree.c +++ b/source/blender/nodes/shader/node_shader_tree.c @@ -398,7 +398,7 @@ static void ntree_shader_groups_expand_inputs(bNodeTree *localtree) if (socket->link != NULL && !(socket->link->flag & NODE_LINK_MUTED)) { bNodeLink *link = socket->link; /* Fix the case where the socket is actually converting the data. (see T71374) - * We only do the case of lossy conversion to float.*/ + * We only do the case of lossy conversion to float. */ if ((socket->type == SOCK_FLOAT) && (link->fromsock->type != link->tosock->type)) { if (link->fromsock->type == SOCK_RGBA) { bNode *tmp = nodeAddStaticNode(NULL, localtree, SH_NODE_RGBTOBW); -- cgit v1.2.3