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_FlipOperation.cpp')
-rw-r--r--source/blender/compositor/operations/COM_FlipOperation.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_FlipOperation.cpp b/source/blender/compositor/operations/COM_FlipOperation.cpp
index afe3173ab0f..98acb4cfb5d 100644
--- a/source/blender/compositor/operations/COM_FlipOperation.cpp
+++ b/source/blender/compositor/operations/COM_FlipOperation.cpp
@@ -52,14 +52,16 @@ bool FlipOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOper
if (this->flipX) {
newInput.xmax = (this->getWidth()- 1 - input->xmin)+1;
newInput.xmin = (this->getWidth()- 1 - input->xmax)-1;
- } else {
+ }
+ else {
newInput.xmin = input->xmin;
newInput.xmax = input->xmax;
}
if (this->flipY) {
newInput.ymax = (this->getHeight()- 1 - input->ymin)+1;
newInput.ymin = (this->getHeight()- 1 - input->ymax)-1;
- } else {
+ }
+ else {
newInput.ymin = input->ymin;
newInput.ymax = input->ymax;
}