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:
Diffstat (limited to 'source/blender/compositor/operations')
-rw-r--r--source/blender/compositor/operations/COM_QualityStepHelper.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/compositor/operations/COM_QualityStepHelper.cc b/source/blender/compositor/operations/COM_QualityStepHelper.cc
index 3eb8d528f7a..c0d86314fb7 100644
--- a/source/blender/compositor/operations/COM_QualityStepHelper.cc
+++ b/source/blender/compositor/operations/COM_QualityStepHelper.cc
@@ -20,7 +20,7 @@
QualityStepHelper::QualityStepHelper()
{
- this->m_quality = COM_QUALITY_HIGH;
+ this->m_quality = CompositorQuality::High;
this->m_step = 1;
this->m_offsetadd = 4;
}
@@ -30,16 +30,16 @@ void QualityStepHelper::initExecution(QualityHelper helper)
switch (helper) {
case COM_QH_INCREASE:
switch (this->m_quality) {
- case COM_QUALITY_HIGH:
+ case CompositorQuality::High:
default:
this->m_step = 1;
this->m_offsetadd = 1;
break;
- case COM_QUALITY_MEDIUM:
+ case CompositorQuality::Medium:
this->m_step = 2;
this->m_offsetadd = 2;
break;
- case COM_QUALITY_LOW:
+ case CompositorQuality::Low:
this->m_step = 3;
this->m_offsetadd = 3;
break;
@@ -47,16 +47,16 @@ void QualityStepHelper::initExecution(QualityHelper helper)
break;
case COM_QH_MULTIPLY:
switch (this->m_quality) {
- case COM_QUALITY_HIGH:
+ case CompositorQuality::High:
default:
this->m_step = 1;
this->m_offsetadd = 4;
break;
- case COM_QUALITY_MEDIUM:
+ case CompositorQuality::Medium:
this->m_step = 2;
this->m_offsetadd = 8;
break;
- case COM_QUALITY_LOW:
+ case CompositorQuality::Low:
this->m_step = 4;
this->m_offsetadd = 16;
break;