Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2012-05-10 09:13:10 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-05-10 09:13:10 +0400
commit10d1cde0ad6753c5859b3e43030d045b370c924f (patch)
treede9d0c26ca68b884c8d2a19fcd640b81ab73fdf9 /intern/dualcon
parent3d65c502e1e569f28e4d80a573d03c34285791f1 (diff)
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.
Diffstat (limited to 'intern/dualcon')
-rw-r--r--intern/dualcon/intern/Projections.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/dualcon/intern/Projections.cpp b/intern/dualcon/intern/Projections.cpp
index 7e7d5e0081c..2a52cc9972a 100644
--- a/intern/dualcon/intern/Projections.cpp
+++ b/intern/dualcon/intern/Projections.cpp
@@ -265,7 +265,7 @@ unsigned char CubeTriangleIsect::getBoxMask( )
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;
}