diff --git a/pcbnew/router/pns_topology.cpp b/pcbnew/router/pns_topology.cpp index 5eca29b31c..ea7d16e1cd 100644 --- a/pcbnew/router/pns_topology.cpp +++ b/pcbnew/router/pns_topology.cpp @@ -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;