Auto-start-wire tool requires an up-to-date connectivity.
Fixes https://gitlab.com/kicad/code/kicad/issues/9628
This commit is contained in:
parent
5d751bef74
commit
5e6da9f964
|
@ -631,6 +631,7 @@ int EE_SELECTION_TOOL::Main( const TOOL_EVENT& aEvent )
|
||||||
|
|
||||||
if( m_frame->eeconfig()->m_Drawing.auto_start_wires
|
if( m_frame->eeconfig()->m_Drawing.auto_start_wires
|
||||||
&& pt_tool && !pt_tool->HasPoint()
|
&& pt_tool && !pt_tool->HasPoint()
|
||||||
|
&& !collector[0]->IsConnectivityDirty()
|
||||||
&& collector[0]->IsPointClickableAnchor( (wxPoint) snappedCursorPos ) )
|
&& collector[0]->IsPointClickableAnchor( (wxPoint) snappedCursorPos ) )
|
||||||
{
|
{
|
||||||
SCH_CONNECTION* connection = collector[0]->Connection();
|
SCH_CONNECTION* connection = collector[0]->Connection();
|
||||||
|
|
Loading…
Reference in New Issue