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:
authorCampbell Barton <ideasman42@gmail.com>2013-03-22 08:40:45 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-22 08:40:45 +0400
commitdd0e2da7847d31cbaf02c665e2c55b5e8c384ed4 (patch)
treed3a252062f2b610e89131b85f0983a7cc692f851 /source/blender/compositor/operations
parente537fae726facc5881f4d10e048c9ff1e67003f0 (diff)
code cleanup: use booleans and const's for operator vars.
Diffstat (limited to 'source/blender/compositor/operations')
-rw-r--r--source/blender/compositor/operations/COM_RenderLayersBaseProg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_RenderLayersBaseProg.cpp b/source/blender/compositor/operations/COM_RenderLayersBaseProg.cpp
index ad642795240..3421b0a2b34 100644
--- a/source/blender/compositor/operations/COM_RenderLayersBaseProg.cpp
+++ b/source/blender/compositor/operations/COM_RenderLayersBaseProg.cpp
@@ -120,8 +120,8 @@ void RenderLayersBaseProg::executePixel(float output[4], float x, float y, Pixel
/* see comment in executeRegion describing coordinate mapping,
* here it simply goes other way around
*/
- int full_width = rd->xsch * rd->size / 100;
- int full_height =rd->ysch * rd->size / 100;
+ int full_width = rd->xsch * rd->size / 100;
+ int full_height = rd->ysch * rd->size / 100;
dx = rd->border.xmin * full_width - (full_width - this->getWidth()) / 2.0f;
dy = rd->border.ymin * full_height - (full_height - this->getHeight()) / 2.0f;