pns: fix assertion fail when placing diff pairs

This commit is contained in:
Tomasz Włostowski 2017-01-18 15:52:35 +01:00 committed by Maciej Suminski
parent 838c6097d9
commit bb463ad434
1 changed files with 1 additions and 1 deletions

View File

@ -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;