프로젝트

일반

사용자정보

개정판 29781d08

ID29781d08c2fb86bbe6324d323598c468e8b9d2fb
상위 c0fa4723
하위 ac30fc02

함의성이(가) 약 2년 전에 추가함

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

클립보드 이미지 추가 (최대 크기: 500 MB)