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>2012-05-31 22:40:06 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-31 22:40:06 +0400
commit02b927b8c4702cadf089f3e26fa553bdc66483b1 (patch)
treedb5a7e5a005de841d3c730a6b4ef73372ef741eb /source/blender/compositor/operations/COM_MovieDistortionOperation.h
parent9547b76c2e8e0f6aa07858e94e4f0c404b86ac7d (diff)
style cleanup
Diffstat (limited to 'source/blender/compositor/operations/COM_MovieDistortionOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_MovieDistortionOperation.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/compositor/operations/COM_MovieDistortionOperation.h b/source/blender/compositor/operations/COM_MovieDistortionOperation.h
index f583493340b..5792248464a 100644
--- a/source/blender/compositor/operations/COM_MovieDistortionOperation.h
+++ b/source/blender/compositor/operations/COM_MovieDistortionOperation.h
@@ -81,10 +81,11 @@ public:
if (x<0 || x >= this->width || y <0 || y >= this->height) {
*u = x;
*v = y;
- } else {
-
+ }
+ else {
int offset = y * this->width + x;
- int offset2 = offset*2;
+ int offset2 = offset * 2;
+
if (!bufferCalculated[offset]) {
//float overscan = 0.0f;
float w = (float)this->width/* / (1 + overscan) */;
@@ -99,7 +100,8 @@ public:
if (inverted) {
BKE_tracking_invert_intrinsics(trackingData, in, out);
- } else {
+ }
+ else {
BKE_tracking_apply_intrinsics(trackingData, in, out);
}