forked from bartvdbraak/blender
Removed determineDependingAreaOfInterest from movie distortion node
It wasn't used and it was incorrect anyway (distortion could be more than 100px).
This commit is contained in:
parent
18300e8eab
commit
446f70f286
@ -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);
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user