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/COM_QualityStepHelper.cpp')
-rw-r--r--source/blender/compositor/operations/COM_QualityStepHelper.cpp64
1 files changed, 32 insertions, 32 deletions
diff --git a/source/blender/compositor/operations/COM_QualityStepHelper.cpp b/source/blender/compositor/operations/COM_QualityStepHelper.cpp
index f2d700292a4..18b3b106138 100644
--- a/source/blender/compositor/operations/COM_QualityStepHelper.cpp
+++ b/source/blender/compositor/operations/COM_QualityStepHelper.cpp
@@ -32,40 +32,40 @@ QualityStepHelper::QualityStepHelper()
void QualityStepHelper::initExecution(QualityHelper helper)
{
switch (helper) {
- case COM_QH_INCREASE:
- switch (this->quality) {
- case COM_QUALITY_HIGH:
- default:
- this->step = 1;
- this->offsetadd = 4;
+ case COM_QH_INCREASE:
+ switch (this->quality) {
+ case COM_QUALITY_HIGH:
+ default:
+ this->step = 1;
+ this->offsetadd = 4;
+ break;
+ case COM_QUALITY_MEDIUM:
+ this->step = 2;
+ this->offsetadd = 8;
+ break;
+ case COM_QUALITY_LOW:
+ this->step = 3;
+ this->offsetadd = 12;
+ break;
+ }
break;
- case COM_QUALITY_MEDIUM:
- this->step = 2;
- this->offsetadd = 8;
+ case COM_QH_MULTIPLY:
+ switch (this->quality) {
+ case COM_QUALITY_HIGH:
+ default:
+ this->step = 1;
+ this->offsetadd = 4;
+ break;
+ case COM_QUALITY_MEDIUM:
+ this->step = 2;
+ this->offsetadd = 8;
+ break;
+ case COM_QUALITY_LOW:
+ this->step = 4;
+ this->offsetadd = 16;
+ break;
+ }
break;
- case COM_QUALITY_LOW:
- this->step = 3;
- this->offsetadd = 12;
- break;
- }
- break;
- case COM_QH_MULTIPLY:
- switch (this->quality) {
- case COM_QUALITY_HIGH:
- default:
- this->step = 1;
- this->offsetadd = 4;
- break;
- case COM_QUALITY_MEDIUM:
- this->step = 2;
- this->offsetadd = 8;
- break;
- case COM_QUALITY_LOW:
- this->step = 4;
- this->offsetadd = 16;
- break;
- }
- break;
}
}