Default dangling state to true. A wire on it's own is dangling.

This commit is contained in:
Jeff Young 2021-09-24 20:58:55 +01:00
parent 1b0c274e22
commit 1b8506c6b6
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ SCH_LINE::SCH_LINE( const wxPoint& pos, int layer ) :
{
m_start = pos;
m_end = pos;
m_startIsDangling = m_endIsDangling = false;
m_startIsDangling = m_endIsDangling = true;
m_stroke.SetWidth( 0 );
m_stroke.SetPlotStyle( PLOT_DASH_TYPE::DEFAULT );
m_stroke.SetColor( COLOR4D::UNSPECIFIED );