pcbnew: Enforce router settings
When the user selects "Ignore DRC" in the Highlight collisions mode, they should be allowed to start drc violating tracks as well as end them.
This commit is contained in:
@@ -157,6 +157,9 @@ bool ROUTER::StartDragging( const VECTOR2I& aP, ITEM* aStartItem, int aDragMode
|
||||
|
||||
bool ROUTER::isStartingPointRoutable( const VECTOR2I& aWhere, int aLayer )
|
||||
{
|
||||
if( Settings().CanViolateDRC() && Settings().Mode() == RM_MarkObstacles )
|
||||
return true;
|
||||
|
||||
auto candidates = QueryHoverItems( aWhere );
|
||||
|
||||
for( ITEM* item : candidates.Items() )
|
||||
|
||||
Reference in New Issue
Block a user