diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-07-02 05:58:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-07-02 06:03:46 +0300 |
commit | 26ffed74661e4e67d7d7f720404d3f821d824d55 (patch) | |
tree | 3227a81eab8158780ccd6c98d664060e422d434c /intern | |
parent | afd976a3b483ae0e0bc9547825ff587e5297a23c (diff) |
Cleanup: spelling
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/render/colorspace.cpp | 4 | ||||
-rw-r--r-- | intern/cycles/render/graph.cpp | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/intern/cycles/render/colorspace.cpp b/intern/cycles/render/colorspace.cpp index 7605fcaf5ff..57979d5f225 100644 --- a/intern/cycles/render/colorspace.cpp +++ b/intern/cycles/render/colorspace.cpp @@ -266,7 +266,7 @@ inline void processor_apply_pixels(const OCIO::Processor *processor, T *pixels, { /* TODO: implement faster version for when we know the conversion * is a simple matrix transform between linear spaces. In that case - * unpremultiply is not needed. */ + * un-premultiply is not needed. */ /* Process large images in chunks to keep temporary memory requirement down. */ const size_t chunk_size = std::min((size_t)(16 * 1024 * 1024), num_pixels); @@ -354,7 +354,7 @@ void ColorSpaceManager::to_scene_linear(ColorSpaceProcessor *processor_, processor->applyRGB(pixel); } else { - /* Unassociate and associate alpha since color management should not + /* Un-associate and associate alpha since color management should not * be affected by transparency. */ float alpha = pixel[3]; float inv_alpha = 1.0f / alpha; diff --git a/intern/cycles/render/graph.cpp b/intern/cycles/render/graph.cpp index d2db59894ea..436324b00ba 100644 --- a/intern/cycles/render/graph.cpp +++ b/intern/cycles/render/graph.cpp @@ -942,12 +942,12 @@ void ShaderGraph::refine_bump_nodes() foreach (NodePair &pair, nodes_dy) add(pair.second); - /* connect what is connected is bump to samplecenter input*/ + /* Connect what is connected is bump to sample-center input. */ connect(out, node->input("SampleCenter")); - /* bump input is just for connectivity purpose for the graph input, - * we re-connected this input to samplecenter, so lets disconnect it - * from bump input */ + /* Bump input is just for connectivity purpose for the graph input, + * we re-connected this input to sample-center, so lets disconnect it + * from bump input. */ disconnect(bump_input); } } |