Fix for [#34022] Lines on renders using Blur node in flat mode
This commit is contained in:
@@ -182,8 +182,8 @@ bool GaussianAlphaXBlurOperation::determineDependingAreaOfInterest(rcti *input,
|
||||
#endif
|
||||
{
|
||||
if (this->m_sizeavailable && this->m_gausstab != NULL) {
|
||||
newInput.xmax = input->xmax + this->m_rad;
|
||||
newInput.xmin = input->xmin - this->m_rad;
|
||||
newInput.xmax = input->xmax + this->m_rad + 1;
|
||||
newInput.xmin = input->xmin - this->m_rad - 1;
|
||||
newInput.ymax = input->ymax;
|
||||
newInput.ymin = input->ymin;
|
||||
}
|
||||
|
||||
@@ -184,8 +184,8 @@ bool GaussianAlphaYBlurOperation::determineDependingAreaOfInterest(rcti *input,
|
||||
if (this->m_sizeavailable && this->m_gausstab != NULL) {
|
||||
newInput.xmax = input->xmax;
|
||||
newInput.xmin = input->xmin;
|
||||
newInput.ymax = input->ymax + this->m_rad;
|
||||
newInput.ymin = input->ymin - this->m_rad;
|
||||
newInput.ymax = input->ymax + this->m_rad + 1;
|
||||
newInput.ymin = input->ymin - this->m_rad - 1;
|
||||
}
|
||||
else {
|
||||
newInput.xmax = this->getWidth();
|
||||
|
||||
@@ -133,8 +133,8 @@ bool GaussianXBlurOperation::determineDependingAreaOfInterest(rcti *input, ReadB
|
||||
}
|
||||
{
|
||||
if (this->m_sizeavailable && this->m_gausstab != NULL) {
|
||||
newInput.xmax = input->xmax + this->m_rad;
|
||||
newInput.xmin = input->xmin - this->m_rad;
|
||||
newInput.xmax = input->xmax + this->m_rad + 1;
|
||||
newInput.xmin = input->xmin - this->m_rad - 1;
|
||||
newInput.ymax = input->ymax;
|
||||
newInput.ymin = input->ymin;
|
||||
}
|
||||
|
||||
@@ -136,8 +136,8 @@ bool GaussianYBlurOperation::determineDependingAreaOfInterest(rcti *input, ReadB
|
||||
if (this->m_sizeavailable && this->m_gausstab != NULL) {
|
||||
newInput.xmax = input->xmax;
|
||||
newInput.xmin = input->xmin;
|
||||
newInput.ymax = input->ymax + this->m_rad;
|
||||
newInput.ymin = input->ymin - this->m_rad;
|
||||
newInput.ymax = input->ymax + this->m_rad + 1;
|
||||
newInput.ymin = input->ymin - this->m_rad - 1;
|
||||
}
|
||||
else {
|
||||
newInput.xmax = this->getWidth();
|
||||
|
||||
Reference in New Issue
Block a user