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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-07-05 03:08:37 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-07-05 03:08:37 +0400
commit38b7cbbd004ef7268a1c39114d8503906361c1f7 (patch)
tree1312b72e85499323e130b9e455f39c2b9833b1cb /source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp
parent4dd23a381a8a7c65732e12025e2f0503595e2956 (diff)
Bug fixes from Stéphane Grabli, one of the coauthors of the
original Freestyle: * Fix for making the stroke construction more robust to nearly overlapping vertices. * Fix for a bug in the computation of the occluded surfaces. These changes make the visibility computation more robust and the line quality generally higher.
Diffstat (limited to 'source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp')
-rwxr-xr-xsource/blender/freestyle/intern/view_map/ViewMapBuilder.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp b/source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp
index b010895a621..dbd046f050a 100755
--- a/source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp
+++ b/source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp
@@ -241,8 +241,7 @@ void ViewMapBuilder::ComputeRayCastingVisibility(ViewMap *ioViewMap, Grid* iGrid
maxIndex = tmpQI;
}
}
- else
- FindOccludee(fe, iGrid, epsilon, &aFace, timestamp++);
+ FindOccludee(fe, iGrid, epsilon, &aFace, timestamp++);
if(aFace) {
fe->setaFace(*aFace);
@@ -361,8 +360,7 @@ void ViewMapBuilder::ComputeFastRayCastingVisibility(ViewMap *ioViewMap, Grid* i
maxIndex = tmpQI;
}
}
- else
- FindOccludee(fe, iGrid, epsilon, &aFace, timestamp++);
+ FindOccludee(fe, iGrid, epsilon, &aFace, timestamp++);
if(aFace)
{