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_ScaleOperation.cpp')
-rw-r--r--source/blender/compositor/operations/COM_ScaleOperation.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/compositor/operations/COM_ScaleOperation.cpp b/source/blender/compositor/operations/COM_ScaleOperation.cpp
index ae640bf7057..f0c3b41b61a 100644
--- a/source/blender/compositor/operations/COM_ScaleOperation.cpp
+++ b/source/blender/compositor/operations/COM_ScaleOperation.cpp
@@ -136,13 +136,8 @@ void ScaleAbsoluteOperation::executePixel(float *color, float x, float y, PixelS
this->inputXOperation->read(scaleX, x, y, sampler, inputBuffers);
this->inputYOperation->read(scaleY, x, y, sampler, inputBuffers);
-#ifdef USE_SCENE_COMPO_SCALE
- const float scx = scaleX[0] * this->render_perc; // target absolute scale * render_percentage
- const float scy = scaleY[0] * this->render_perc; // target absolute scale * render_percentage
-#else
const float scx = scaleX[0]; // target absolute scale
const float scy = scaleY[0]; // target absolute scale
-#endif
const float width = this->getWidth();
const float height = this->getHeight();