diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-09-29 00:29:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-09-29 00:29:15 +0300 |
commit | 79290f51605e31cff09e4984d4f493d05bfe17e2 (patch) | |
tree | 77a9513a2c85012ac805f38c1083c423c36c72f1 /source/blender/compositor | |
parent | efe3a13b55c0295b68697c19e4379b5bbe8684ca (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/compositor')
-rw-r--r-- | source/blender/compositor/intern/COM_MemoryBuffer.h | 5 | ||||
-rw-r--r-- | source/blender/compositor/operations/COM_BlurBaseOperation.cc | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/compositor/intern/COM_MemoryBuffer.h b/source/blender/compositor/intern/COM_MemoryBuffer.h index 4d6c5790987..9e173f73f63 100644 --- a/source/blender/compositor/intern/COM_MemoryBuffer.h +++ b/source/blender/compositor/intern/COM_MemoryBuffer.h @@ -695,8 +695,9 @@ class MemoryBuffer { return y >= m_rect.ymin && y < m_rect.ymax; } - /* Fast floor functions. The caller should check result is within buffer bounds. It ceils in near - * cases and when given coordinate is negative and less than buffer rect `min - 1`. */ + /* Fast `floor(..)` functions. The caller should check result is within buffer bounds. + * It `ceil(..)` in near cases and when given coordinate + * is negative and less than buffer rect `min - 1`. */ int floor_x(float x) const { return (int)(x + to_positive_x_stride_) - to_positive_x_stride_; diff --git a/source/blender/compositor/operations/COM_BlurBaseOperation.cc b/source/blender/compositor/operations/COM_BlurBaseOperation.cc index 2c162425f13..412632e2e22 100644 --- a/source/blender/compositor/operations/COM_BlurBaseOperation.cc +++ b/source/blender/compositor/operations/COM_BlurBaseOperation.cc @@ -228,7 +228,7 @@ void BlurBaseOperation::determine_canvas(const rcti &preferred_area, rcti &r_are } case eExecutionModel::FullFrame: { /* Setting a modifier ensures all non main inputs have extended bounds as preferred - * canvas, avoiding unnecessary canvas convertions that would hide constant + * canvas, avoiding unnecessary canvas conversions that would hide constant * operations. */ set_determined_canvas_modifier([=](rcti &canvas) { /* Rounding to even prevents jiggling in backdrop while switching size values. */ |