From 7f19684ff639cca072600e4eda1ce5461708c506 Mon Sep 17 00:00:00 2001 From: Kai-Martin Knaak Date: Fri, 5 Aug 2011 04:11:40 +0200 Subject: [PATCH] fix infinite loop on skip-drc --- src/find.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/find.c b/src/find.c index 92c8b35..380412e 100644 --- a/src/find.c +++ b/src/find.c @@ -1172,7 +1172,13 @@ LookupPVConnectionsToLOList (bool AndRats) for (layer = 0; layer < max_copper_layer; layer++) { if (LAYER_PTR (layer)->no_drc) + { + LineList[layer].Location = LineList[layer].Number; + ArcList[layer].Location = ArcList[layer].Number; + PolygonList[layer].Location = PolygonList[layer].Number; continue; + } + /* do nothing if there are no PV's */ if (TotalP + TotalV == 0) { -- 1.7.5.4