forked from bartvdbraak/blender
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.
This commit is contained in:
parent
a3a4386991
commit
f514fae6d8
@ -216,6 +216,11 @@ ViewVertex *ViewMap::InsertViewVertex(SVertex *iVertex, vector<ViewEdge*>& newVi
|
|||||||
// update new View Vertex:
|
// update new View Vertex:
|
||||||
vva->AddOutgoingViewEdge(newVEdge);
|
vva->AddOutgoingViewEdge(newVEdge);
|
||||||
vva->AddIncomingViewEdge(ioEdge);
|
vva->AddIncomingViewEdge(ioEdge);
|
||||||
|
|
||||||
|
NonTVertex *vvb = dynamic_cast<NonTVertex*>(newVEdge->B());
|
||||||
|
if (vvb)
|
||||||
|
vvb->Replace(ioEdge, newVEdge);
|
||||||
|
|
||||||
// update ViewShape
|
// update ViewShape
|
||||||
//vshape->AddEdge(newVEdge);
|
//vshape->AddEdge(newVEdge);
|
||||||
// update SShape
|
// update SShape
|
||||||
|
Loading…
Reference in New Issue
Block a user