[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58180] trunk/blender/source/blender/ freestyle/intern/view_map/ViewMap.cpp: Fix for Bug #35695: Freestyle produces extra line across an object with pointed areas.
Tamito Kajiyama
rd6t-kjym at asahi-net.or.jp
Thu Jul 11 19:25:19 CEST 2013
Revision: 58180
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58180
Author: kjym3
Date: 2013-07-11 17:25:18 +0000 (Thu, 11 Jul 2013)
Log Message:
-----------
Fix for Bug #35695: Freestyle produces extra line across an object with pointed areas.
The cause of inconsistent edge connectivity in the view map (documented in the commit
log of revision 58006) was identified and fixed. The problem was that when a ViewEdge
was split at a cusp vertex (ViewMapBuilder::computeCusps()), the ViewVertex at one end
of a newly created ViewEdge in ViewMap::InsertViewVertex() was not properly updated to
take account of edge connectivity changes.
Revision Links:
--------------
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58006
Modified Paths:
--------------
trunk/blender/source/blender/freestyle/intern/view_map/ViewMap.cpp
Modified: trunk/blender/source/blender/freestyle/intern/view_map/ViewMap.cpp
===================================================================
--- trunk/blender/source/blender/freestyle/intern/view_map/ViewMap.cpp 2013-07-11 15:57:22 UTC (rev 58179)
+++ trunk/blender/source/blender/freestyle/intern/view_map/ViewMap.cpp 2013-07-11 17:25:18 UTC (rev 58180)
@@ -216,6 +216,11 @@
// update new View Vertex:
vva->AddOutgoingViewEdge(newVEdge);
vva->AddIncomingViewEdge(ioEdge);
+
+ NonTVertex *vvb = dynamic_cast<NonTVertex*>(newVEdge->B());
+ if (vvb)
+ vvb->Replace(ioEdge, newVEdge);
+
// update ViewShape
//vshape->AddEdge(newVEdge);
// update SShape
More information about the Bf-blender-cvs
mailing list