diff --git a/include/advanced_config.h b/include/advanced_config.h index 5924e9f39d..bd806cc1e6 100644 --- a/include/advanced_config.h +++ b/include/advanced_config.h @@ -97,7 +97,7 @@ public: /** * Epsilon for DRC tests. Note that for zone tests this is essentially additive with - * m_extraClearance. Units are mm. + * m_ExtraClearance. Units are mm. */ double m_DRCEpsilon; diff --git a/pcbnew/router/pns_node.cpp b/pcbnew/router/pns_node.cpp index 0950de582b..28a665692f 100644 --- a/pcbnew/router/pns_node.cpp +++ b/pcbnew/router/pns_node.cpp @@ -169,8 +169,7 @@ void NODE::unlinkParent() OBSTACLE_VISITOR::OBSTACLE_VISITOR( const ITEM* aItem ) : m_item( aItem ), m_node( NULL ), - m_override( NULL ), - m_extraClearance( 0 ) + m_override( NULL ) { } @@ -212,10 +211,6 @@ struct NODE::DEFAULT_OBSTACLE_VISITOR : public OBSTACLE_VISITOR m_matchCount( 0 ), m_differentNetsOnly( aDifferentNetsOnly ) { - if( aItem && aItem->Kind() == ITEM::LINE_T ) - { - m_extraClearance += static_cast( aItem )->Width() / 2; - } } virtual ~DEFAULT_OBSTACLE_VISITOR() diff --git a/pcbnew/router/pns_node.h b/pcbnew/router/pns_node.h index a8dbd0e484..f62aa8a725 100644 --- a/pcbnew/router/pns_node.h +++ b/pcbnew/router/pns_node.h @@ -130,7 +130,6 @@ protected: const NODE* m_node; ///< node we are searching in (either root or a branch) const NODE* m_override; ///< node that overrides root entries - int m_extraClearance; ///< additional clearance }; /**