프로젝트

일반

사용자정보

개정판 9124f6d0

ID9124f6d0adefc92f4f68c5a2120323b3173d7308
상위 6c6bb75b
하위 8c847a46

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

issue #563: fix association order break, need check using db instead xml

Change-Id: I7c8514730dcc07e9280b54449ca3398ddfe46cef

차이점 보기:

DTI_PID/DTI_PID/Shapes/EngineeringAbstractItem.py
165 165
            res = []
166 166
            for key in self._associations.keys():
167 167
                index = 0
168
                for assoc in list(set(self._associations[key])):
168
                for assoc in list(self._associations[key]):
169 169
                    # find owner with uid if self.scene() is valid
170 170
                    if self.scene() and assoc and type(assoc) is uuid.UUID:
171 171
                        matches = [x for x in self.scene().items() if hasattr(x, 'uid') and str(x.uid) == str(assoc)]
DTI_PID/DTI_PID/Shapes/SymbolSvgItem.py
1504 1504
            appDocData = AppDocData.instance()
1505 1505

  
1506 1506
            uidNode = node.find('UID')
1507
            if uidNode.text == 'bf8c0fd7-f4a2-4a50-befc-792a82659a23':
1508
                print('a')
1507 1509
            uid = uidNode.text if uidNode is not None else uuid.uuid4()  # generate UUID
1508 1510

  
1509 1511
            pt = [float(x) for x in node.find('LOCATION').text.split(',')]

내보내기 Unified diff

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