Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-02-05 08:30:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-05 08:30:49 +0300
commitd975e19583311f52ddabdb2c7066971ea2da14ac (patch)
tree88a57eb05fc49e64f347c03aaa1d0030514eed07 /source/blender/compositor
parent17e1e2bfd8dfbd6f6fc42cc305e93393342020f7 (diff)
Cleanup: correct spelling in code
Diffstat (limited to 'source/blender/compositor')
-rw-r--r--source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cpp4
-rw-r--r--source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cpp b/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cpp
index fbbd373ba09..b548a684ba5 100644
--- a/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cpp
+++ b/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cpp
@@ -1256,7 +1256,7 @@ void DoubleEdgeMaskOperation::doDoubleEdgeMask(float *imask, float *omask, float
*
* Each version has slightly different criteria for detecting an edge pixel.
*/
- if (this->m_adjecentOnly) { // if "adjacent only" inner edge mode is turned on
+ if (this->m_adjacentOnly) { // if "adjacent only" inner edge mode is turned on
if (this->m_keepInside) { // if "keep inside" buffer edge mode is turned on
do_adjacentKeepBorders(t, rw, limask, lomask, lres, res, rsize);
}
@@ -1313,7 +1313,7 @@ DoubleEdgeMaskOperation::DoubleEdgeMaskOperation()
this->addOutputSocket(COM_DT_VALUE);
this->m_inputInnerMask = nullptr;
this->m_inputOuterMask = nullptr;
- this->m_adjecentOnly = false;
+ this->m_adjacentOnly = false;
this->m_keepInside = false;
this->setComplex(true);
}
diff --git a/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.h b/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.h
index e53aa7eb8aa..813f5009815 100644
--- a/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.h
+++ b/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.h
@@ -27,7 +27,7 @@ class DoubleEdgeMaskOperation : public NodeOperation {
*/
SocketReader *m_inputOuterMask;
SocketReader *m_inputInnerMask;
- bool m_adjecentOnly;
+ bool m_adjacentOnly;
bool m_keepInside;
float *m_cachedInstance;
@@ -56,9 +56,9 @@ class DoubleEdgeMaskOperation : public NodeOperation {
ReadBufferOperation *readOperation,
rcti *output);
- void setAdjecentOnly(bool adjecentOnly)
+ void setAdjecentOnly(bool adjacentOnly)
{
- this->m_adjecentOnly = adjecentOnly;
+ this->m_adjacentOnly = adjacentOnly;
}
void setKeepInside(bool keepInside)
{