개정판 d8bd4799
fix
Change-Id: I21b7a14c4313bcf2b3c1e78471ebd1ccc69bbf14
DTI_PID/DTI_PID/Commands/LoadCommand.py | ||
---|---|---|
96 | 96 |
|
97 | 97 |
"""update items""" |
98 | 98 |
if update: |
99 |
_items = [_item for _item in scene.items() if (hasattr(_item, 'owner') and hasattr(_item, 'uid')) or hasattr(_item, 'connectors')]
|
|
99 |
_items = [_item for _item in scene.items() if (hasattr(_item, 'owner') and hasattr(_item, 'uid')) or (hasattr(_item, 'connectors') and type(_item) is not QGraphicsBoundingBoxItem)]
|
|
100 | 100 |
dic_items = {} |
101 | 101 |
for _item in _items: |
102 | 102 |
dic_items[str(_item.uid)] = _item |
내보내기 Unified diff