프로젝트

일반

사용자정보

개정판 0bd9a27d

ID0bd9a27daab41e635bb29753b8f4e7494588b405
상위 08826df0
하위 9e9498c1, cf815388

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

issue #637: fix end break modeling

Change-Id: I0080fa2f7262089f171169ef516586ed28362f1b

차이점 보기:

DTI_PID/DTI_PID/LineNoTracer.py
578 578
                for end_break in end_breaks:
579 579
                    if not end_break.prop('Freeze'):
580 580
                        end_break.transfer.onRemoved.connect(App.mainWnd().itemRemoved)
581
                        end_break.addSvgItemToScene(worker.graphicsView.scene)
581
                        # end break can be modeled only piping line
582
                        if (type(end_break.owner) is not QEngineeringLineItem or (type(end_break.owner) is QEngineeringLineItem and (end_break.owner.lineType == 'Secondary' or end_break.owner.lineType == 'Primary'))) \
583
                                and (type(end_break.prop('Connected Item')) is not QEngineeringLineItem or (type(end_break.prop('Connected Item')) is QEngineeringLineItem and (end_break.prop('Connected Item').lineType == 'Secondary' or end_break.prop('Connected Item').lineType == 'Primary'))):
584
                            end_break.addSvgItemToScene(worker.graphicsView.scene)
582 585
        
583 586
        """make flow mark"""
584 587
        for line in lines:

내보내기 Unified diff

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