Revision: 50138
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50138
Author: campbellbarton
Date: 2012-08-23 06:27:12 +0000 (Thu, 23 Aug 2012)
Log Message:
-----------
change I made gave a little nicer bleeding direction for inpaint but introduced
dithering artifact.
Modified Paths:
--------------
trunk/blender/source/blender/compositor/operations/COM_InpaintOperation.cpp
Modified:
trunk/blender/source/blender/compositor/operations/COM_InpaintOperation.cpp
===================================================================
--- trunk/blender/source/blender/compositor/operations/COM_InpaintOperation.cpp
2012-08-23 05:19:40 UTC (rev 50137)
+++ trunk/blender/source/blender/compositor/operations/COM_InpaintOperation.cpp
2012-08-23 06:27:12 UTC (rev 50138)
@@ -182,8 +182,8 @@
for (int dx = -1; dx <= 1; dx++) {
for (int dy = -1; dy <= 1; dy++) {
- if (dx != 0 && dy != 0) {
-
+ /* changing to both != 0 gives dithering artifacts */
+ if (dx != 0 || dy != 0) {
int x_ofs = x + dx;
int y_ofs = y + dy;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs