Fixed an assertion triggered upon line simplification (PNS).
This commit is contained in:
parent
f1e2a2c4c1
commit
03d372a0ec
|
@ -992,10 +992,9 @@ void LINE_PLACER::simplifyNewLine( NODE* aNode, SEGMENT* aLatest )
|
|||
|
||||
if( simplified.PointCount() != l.PointCount() )
|
||||
{
|
||||
LINE lnew( l );
|
||||
aNode->Remove( l );
|
||||
lnew.SetShape( simplified );
|
||||
aNode->Add( lnew );
|
||||
l.SetShape( simplified );
|
||||
aNode->Add( l );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue