개정판 29781d08
end break test
Change-Id: Id10deb026abac0bac37a683be95cae925dec2352
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
871 | 871 |
# connect end break |
872 | 872 |
usedItemPairs = [] |
873 | 873 |
for end_break in end_breaks: |
874 |
if end_break.prop('Freeze') or end_break.owner or end_break.prop('Connected Item'): |
|
875 |
usedItemPairs.append([end_break.owner, end_break.prop('Connected Item')]) |
|
876 |
|
|
877 |
for end_break in end_breaks: |
|
878 |
if end_break.prop('Freeze') or end_break.owner or end_break.prop('Connected Item'): |
|
879 |
continue |
|
880 |
|
|
874 | 881 |
originPoint = Point(end_break.origin[0], end_break.origin[1]) |
875 | 882 |
minD = sys.maxsize |
876 | 883 |
ownerItem = None |
... | ... | |
896 | 903 |
continue |
897 | 904 |
|
898 | 905 |
minD = dist |
899 |
ownerItem = symbol
|
|
906 |
ownerItem = line
|
|
900 | 907 |
connectedItem = conn.connectedItem |
901 | 908 |
|
902 | 909 |
if ownerItem and connectedItem: |
내보내기 Unified diff