[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46484] trunk/blender/intern/dualcon/ intern/Projections.cpp: Potential fix for bug #31111, Remesh modifier generates artifacts on simple surfaces

Nicholas Bishop nicholasbishop at gmail.com
Thu May 10 07:13:10 CEST 2012


Revision: 46484
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46484
Author:   nicholasbishop
Date:     2012-05-10 05:13:10 +0000 (Thu, 10 May 2012)
Log Message:
-----------
Potential fix for bug #31111, Remesh modifier generates artifacts on simple surfaces

Changed one of the intersection tests to use < rather than <=

The sharp and smooth modes look fine now for the special case that was
reported broken; blocks mode looks correct but "jumps" slightly from
one octree resolution to another, so may need additional corrections.

Modified Paths:
--------------
    trunk/blender/intern/dualcon/intern/Projections.cpp

Modified: trunk/blender/intern/dualcon/intern/Projections.cpp
===================================================================
--- trunk/blender/intern/dualcon/intern/Projections.cpp	2012-05-10 05:12:58 UTC (rev 46483)
+++ trunk/blender/intern/dualcon/intern/Projections.cpp	2012-05-10 05:13:10 UTC (rev 46484)
@@ -265,7 +265,7 @@
 		if (mid >= inherit->tri_proj[i][0]) {
 			bmask[i][0] = 1;
 		}
-		if (mid <= inherit->tri_proj[i][1]) {
+		if (mid < inherit->tri_proj[i][1]) {
 			bmask[i][1] = 1;
 		}
 




More information about the Bf-blender-cvs mailing list