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:
authorJeroen Bakker <jeroen@blender.org>2021-03-26 14:39:54 +0300
committerJeroen Bakker <jeroen@blender.org>2021-03-26 17:51:06 +0300
commite5fb7eac85f60a301f7bf742b12bb04a795d0f31 (patch)
treefee496a0bbea0192537832a3a88fa11b9de01eff /source/blender/compositor/operations/COM_BlurBaseOperation.cc
parent23b1872d6e45fd40aaf5040c1553bfbd524e0a11 (diff)
Cleanup: Use Enum Class For PixelSampler.
Diffstat (limited to 'source/blender/compositor/operations/COM_BlurBaseOperation.cc')
-rw-r--r--source/blender/compositor/operations/COM_BlurBaseOperation.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_BlurBaseOperation.cc b/source/blender/compositor/operations/COM_BlurBaseOperation.cc
index fe6ca1cfd4e..b5c60b638d8 100644
--- a/source/blender/compositor/operations/COM_BlurBaseOperation.cc
+++ b/source/blender/compositor/operations/COM_BlurBaseOperation.cc
@@ -167,7 +167,7 @@ void BlurBaseOperation::updateSize()
{
if (!this->m_sizeavailable) {
float result[4];
- this->getInputSocketReader(1)->readSampled(result, 0, 0, COM_PS_NEAREST);
+ this->getInputSocketReader(1)->readSampled(result, 0, 0, PixelSampler::Nearest);
this->m_size = result[0];
this->m_sizeavailable = true;
}