프로젝트

일반

사용자정보

개정판 8de1042d

ID8de1042ddb58c46ee70db524da75dc30100ae332
상위 0e67fa6c
하위 bef6b98c

함의성이(가) 일년 이상 전에 추가함

fix size

Change-Id: I3985138c4dc53bf7bc7288f99d8be84fa25708b5

차이점 보기:

DTI_PID/DTI_PID/Shapes/EngineeringAbstractItem.py
525 525
                    #    return ''
526 526
                    #    #return AppDocData.instance().drain_size
527 527

  
528
                if self.owner.runs and self in self.owner.runs[0].items:
529
                    self.sizeDepth = 0
530
                    return self.owner.Size
531
                elif self.sizeDepth < 2:
532
                    connected_items = self.find_connected_objects_size(self)
528
                connected_items = self.find_connected_objects_size(self)
529
                if self.sizeDepth < 2:
533 530
                    if connected_items:
534 531
                        at = connected_items.index(self)
535 532
                        upstream = connected_items[:at]
......
576 573
                                    self.sizeDepth = 0
577 574
                                    return item.Size
578 575
                            prev = item
579

  
576
                elif self.owner.runs and self in self.owner.runs[0].items:
577
                    self.sizeDepth = 0
578
                    return self.owner.Size
579
                elif self.sizeDepth < 2:
580
                    if connected_items:
580 581
                        res1 = None
581 582
                        res2 = None
582 583
                        if type(connected_items[0]) is QEngineeringLineItem:

내보내기 Unified diff

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