Add bounding box of connector for when there are multiple connectors

This commit is contained in:
Matt Guthaus 2018-11-19 15:45:07 -08:00
parent 2694ee1a4c
commit 20d4e390f6
1 changed files with 1 additions and 3 deletions

View File

@ -72,9 +72,7 @@ class pin_layout:
min_y = ll.y
max_y = ur.y
filtered_list = [x for x in pin_list if x != None]
debug.check(len(filtered_list)>0,"Cannot find bbox of empty list.")
for pin in filtered_list:
for pin in pin_list:
min_x = min(min_x, pin.ll().x)
max_x = max(max_x, pin.ur().x)
min_y = min(min_y, pin.ll().y)