프로젝트

일반

사용자정보

개정판 1d2a9f33

ID1d2a9f33f1f5b2a87560b90c8b7486fb31ff0cf9
상위 6da5c465
하위 c902a860, af2b9605

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

issue #000: fix LineNoTracer

Change-Id: I07ac01444bd9150de9cb895d049ad22e9ec250e2

차이점 보기:

DTI_PID/DTI_PID/LineNoTracer.py
84 84
            lineno.set_property('From', connected_items[0])
85 85
            lineno.set_property('To', connected_items[-1])
86 86

  
87
        if not connected_items or connected_items[-1] is not _to:
87
        if _to is not None and (not connected_items or connected_items[-1] is not _to):
88 88
            _to.owner = None
89 89

  
90 90
        return connected_items
......
369 369

  
370 370
                    symbolMatches = [x for x in self._symbols if (x.owner is None or x.owner == start.owner) and (x is not obj) and (x not in visited) and obj.is_connected(x, None)]
371 371
                    #print(symbolMatches)
372
                    
372

  
373 373
                # order connected objects
374 374
                matches = []
375 375
                matches.extend(symbolMatches)

내보내기 Unified diff

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