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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-11-10 23:15:09 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-11-10 23:15:09 +0400
commit446f70f286154ca248dbdd25ecd68cdb9c6114d5 (patch)
tree2241af3f7c35b929bb777c5226609d793b0e7d10 /source/blender/compositor/operations
parent18300e8eab87c9133b88620bb8887b2441f4db46 (diff)
Removed determineDependingAreaOfInterest from movie distortion node
It wasn't used and it was incorrect anyway (distortion could be more than 100px).
Diffstat (limited to 'source/blender/compositor/operations')
-rw-r--r--source/blender/compositor/operations/COM_MovieDistortionOperation.cpp12
-rw-r--r--source/blender/compositor/operations/COM_MovieDistortionOperation.h1
2 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/compositor/operations/COM_MovieDistortionOperation.cpp b/source/blender/compositor/operations/COM_MovieDistortionOperation.cpp
index 29d8bbea2db..68a61dff801 100644
--- a/source/blender/compositor/operations/COM_MovieDistortionOperation.cpp
+++ b/source/blender/compositor/operations/COM_MovieDistortionOperation.cpp
@@ -112,15 +112,3 @@ void MovieDistortionOperation::executePixel(float output[4], float x, float y, P
this->m_inputOperation->read(output, x, y, COM_PS_BILINEAR);
}
}
-
-bool MovieDistortionOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output)
-{
- rcti newInput;
-
- newInput.xmax = input->xmax + 100;
- newInput.xmin = input->xmin - 100;
- newInput.ymax = input->ymax + 100;
- newInput.ymin = input->ymin - 100;
-
- return NodeOperation::determineDependingAreaOfInterest(&newInput, readOperation, output);
-}
diff --git a/source/blender/compositor/operations/COM_MovieDistortionOperation.h b/source/blender/compositor/operations/COM_MovieDistortionOperation.h
index 93cc555fdbc..9f8aa065e3e 100644
--- a/source/blender/compositor/operations/COM_MovieDistortionOperation.h
+++ b/source/blender/compositor/operations/COM_MovieDistortionOperation.h
@@ -155,7 +155,6 @@ protected:
public:
MovieDistortionOperation(bool distortion);
- bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output);
void executePixel(float output[4], float x, float y, PixelSampler sampler);
void initExecution();