프로젝트

일반

사용자정보

개정판 27d414f8

ID27d414f86eaa52e7fce1432ccc196cbcc0a1dbab
상위 aea5052a
하위 64fbc9f0

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

fix line

Change-Id: I4f96c35bdf31f0f9363b6d53aaf5603b64720628

차이점 보기:

DTI_PID/DTI_PID/LineNoTracer.py
522 522
                                               x not in visited) and obj.is_connected(x)]
523 523
                    symbolMatches = [x for x in self._symbols if
524 524
                                     (x.owner is None or x.owner == start.owner) and (x is not obj) and (
525
                                             x not in visited) and obj.is_connected(x, None)]
525
                                             x not in visited) and obj.is_connected(x)]
526 526
                    nextMatches = symbolMatches + lineMatches
527 527

  
528 528
                    if len(visited) > 1: # symbol must pass straight, choose one if connected items are more than 2
DTI_PID/DTI_PID/MainWindow.py
2828 2828
                                elif selected[0] in connectedItems:
2829 2829
                                    lineItem.connect_if_possible(selected[0], 5)
2830 2830
                                else:
2831
                                    detector.connectLineToLine(selected[0].parent, lineItem, 5)
2831
                                    detector.connectLineToLine(selected[0], lineItem, 5)
2832 2832

  
2833 2833
                        self.graphicsView.scene().addItem(lineItem)
2834 2834
                # up to here

내보내기 Unified diff

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