[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54278] trunk/blender/source/blender/ compositor/operations: Fix for [#34022] Lines on renders using Blur node in flat mode
Jeroen Bakker
j.bakker at atmind.nl
Sun Feb 3 16:06:16 CET 2013
Revision: 54278
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54278
Author: jbakker
Date: 2013-02-03 15:06:16 +0000 (Sun, 03 Feb 2013)
Log Message:
-----------
Fix for [#34022] Lines on renders using Blur node in flat mode
Modified Paths:
--------------
trunk/blender/source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.cpp
trunk/blender/source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.cpp
trunk/blender/source/blender/compositor/operations/COM_GaussianXBlurOperation.cpp
trunk/blender/source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp
Modified: trunk/blender/source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.cpp
===================================================================
--- trunk/blender/source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.cpp 2013-02-03 15:03:55 UTC (rev 54277)
+++ trunk/blender/source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.cpp 2013-02-03 15:06:16 UTC (rev 54278)
@@ -182,8 +182,8 @@
#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;
}
Modified: trunk/blender/source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.cpp
===================================================================
--- trunk/blender/source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.cpp 2013-02-03 15:03:55 UTC (rev 54277)
+++ trunk/blender/source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.cpp 2013-02-03 15:06:16 UTC (rev 54278)
@@ -184,8 +184,8 @@
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();
Modified: trunk/blender/source/blender/compositor/operations/COM_GaussianXBlurOperation.cpp
===================================================================
--- trunk/blender/source/blender/compositor/operations/COM_GaussianXBlurOperation.cpp 2013-02-03 15:03:55 UTC (rev 54277)
+++ trunk/blender/source/blender/compositor/operations/COM_GaussianXBlurOperation.cpp 2013-02-03 15:06:16 UTC (rev 54278)
@@ -133,8 +133,8 @@
}
{
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;
}
Modified: trunk/blender/source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp
===================================================================
--- trunk/blender/source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp 2013-02-03 15:03:55 UTC (rev 54277)
+++ trunk/blender/source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp 2013-02-03 15:06:16 UTC (rev 54278)
@@ -136,8 +136,8 @@
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();
More information about the Bf-blender-cvs
mailing list