From e946fa443b5aab057bfe5f40f8bb4f346c84331e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 16 Jun 2012 14:11:30 +0000 Subject: fix for errors in last commit (dilate/erode has no input) --- .../compositor/operations/COM_GaussianAlphaYBlurOperation.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.cpp') diff --git a/source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.cpp b/source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.cpp index 73dabda1e3f..f84f4e3b094 100644 --- a/source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.cpp +++ b/source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.cpp @@ -155,17 +155,20 @@ void GaussianAlphaYBlurOperation::deinitExecution() bool GaussianAlphaYBlurOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output) { rcti newInput; +#if 0 /* until we add size input */ rcti sizeInput; sizeInput.xmin = 0; sizeInput.ymin = 0; sizeInput.xmax = 5; sizeInput.ymax = 5; - + NodeOperation *operation = this->getInputOperation(1); if (operation->determineDependingAreaOfInterest(&sizeInput, readOperation, output)) { return true; } - else { + else +#endif + { if (this->sizeavailable && this->gausstab != NULL) { newInput.xmax = input->xmax; newInput.xmin = input->xmin; -- cgit v1.2.3