From 70e73974b593d2fe3adfd9c964274c037fb51887 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 10 Mar 2021 15:47:50 +1100 Subject: Cleanup: spelling --- source/blender/compositor/intern/COM_NodeGraph.cc | 4 ++-- source/blender/compositor/operations/COM_VectorBlurOperation.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/compositor') diff --git a/source/blender/compositor/intern/COM_NodeGraph.cc b/source/blender/compositor/intern/COM_NodeGraph.cc index 421a762d9b5..89b5a660dbd 100644 --- a/source/blender/compositor/intern/COM_NodeGraph.cc +++ b/source/blender/compositor/intern/COM_NodeGraph.cc @@ -103,7 +103,7 @@ void NodeGraph::add_bNodeTree(const CompositorContext &context, { const bNodeTree *basetree = context.getbNodeTree(); - /* update viewers in the active edittree as well the base tree (for backdrop) */ + /* Update viewers in the active edit-tree as well the base tree (for backdrop). */ bool is_active_group = (parent_key.value == basetree->active_viewer_key.value); /* add all nodes of the tree to the node list */ @@ -113,7 +113,7 @@ void NodeGraph::add_bNodeTree(const CompositorContext &context, } NodeRange node_range(m_nodes.begin() + nodes_start, m_nodes.end()); - /* add all nodelinks of the tree to the link list */ + /* Add all node-links of the tree to the link list. */ for (bNodeLink *nodelink = (bNodeLink *)tree->links.first; nodelink; nodelink = nodelink->next) { add_bNodeLink(node_range, nodelink); } diff --git a/source/blender/compositor/operations/COM_VectorBlurOperation.cc b/source/blender/compositor/operations/COM_VectorBlurOperation.cc index d6894dfc8ad..f03d702dc58 100644 --- a/source/blender/compositor/operations/COM_VectorBlurOperation.cc +++ b/source/blender/compositor/operations/COM_VectorBlurOperation.cc @@ -847,7 +847,7 @@ void zbuf_accumulate_vecblur(NodeBlurData *nbd, * overestimates the contribution of foreground pixels but looks a * bit better without a sudden cutoff. */ blendfac = ((samples - step) / (float)samples); - /* smoothstep to make it look a bit nicer as well */ + /* Smooth-step to make it look a bit nicer as well. */ blendfac = 3.0f * pow(blendfac, 2.0f) - 2.0f * pow(blendfac, 3.0f); /* accum */ -- cgit v1.2.3