개정판 c18c9522
Add force to connect streamline to symbol
Change-Id: Ibf4caee57e08a19eee8899f0fff0d028e58463a9
HYTOS/HYTOS/MainWindow.py | ||
---|---|---|
3253 | 3253 |
# """ update scene """ |
3254 | 3254 |
self.graphicsView.scene.update(self.graphicsView.sceneRect()) |
3255 | 3255 |
for item in self.graphicsView.scene.items(): |
3256 |
# force to connect streamline to symbol |
|
3257 |
if type(item) is QEngineeringStreamlineItem: |
|
3258 |
item.on_symbol_pos_changed(None) |
|
3259 |
# up to here |
|
3256 | 3260 |
item.setVisible(True) |
3257 | 3261 |
|
3258 | 3262 |
except Exception as ex: |
내보내기 Unified diff