pns: fix assertion fail when placing diff pairs
This commit is contained in:
parent
838c6097d9
commit
bb463ad434
|
@ -47,8 +47,8 @@ bool TOPOLOGY::SimplifyLine( LINE* aLine )
|
|||
|
||||
if( simplified.PointCount() != l.PointCount() )
|
||||
{
|
||||
LINE lnew( l );
|
||||
m_world->Remove( l );
|
||||
LINE lnew( l );
|
||||
lnew.SetShape( simplified );
|
||||
m_world->Add( lnew );
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue