diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-10 07:47:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-10 07:47:50 +0300 |
commit | 70e73974b593d2fe3adfd9c964274c037fb51887 (patch) | |
tree | 680ab58a61b941964723bad7a318b28af2aab793 /source/blender/compositor | |
parent | 548e2e2f251e7dcecfc4db0f8d8ea04414fc2b56 (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/compositor')
-rw-r--r-- | source/blender/compositor/intern/COM_NodeGraph.cc | 4 | ||||
-rw-r--r-- | source/blender/compositor/operations/COM_VectorBlurOperation.cc | 2 |
2 files changed, 3 insertions, 3 deletions
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 */ |