개정판 0819fd28
issue #000: fixing initializtion for line tracer
Change-Id: I53d652bbc3b265cc18819444b95da76aa6003430
DTI_PID/DTI_PID/Shapes/EngineeringLineItem.py | ||
---|---|---|
181 | 181 |
if self._owner and type(self._owner) is uuid.UUID: |
182 | 182 |
matches = [x for x in self.scene().items() if hasattr(x, 'uid') and str(x.uid) == str(self._owner)] |
183 | 183 |
if matches: self._owner = matches[0] |
184 |
|
|
185 |
return self._owner |
|
184 |
|
|
185 |
if type(self._owner) is not uuid.UUID and type(self._owner) is not str: |
|
186 |
return self._owner |
|
187 |
else: |
|
188 |
self._owner = None |
|
189 |
return None |
|
186 | 190 |
|
187 | 191 |
''' |
188 | 192 |
@brief setter owner |
내보내기 Unified diff