개정판 8910c4c2
issue #000: fix symbol sceneconnectpoint
Change-Id: If0f661ee3b223a51b3080340f77c0e3ce0bccf08
DTI_PID/DTI_PID/Shapes/SymbolSvgItem.py | ||
---|---|---|
1637 | 1637 |
self.rotate(self.getCurrentPoint(), self.angle) |
1638 | 1638 |
scene.addItem(self) |
1639 | 1639 |
self.size[0], self.size[1] = round(self.sceneBoundingRect().width()), round(self.sceneBoundingRect().height()) |
1640 |
for conn in self.connectors: |
|
1641 |
conn.sceneConnectPoint = (conn.sceneBoundingRect().center().x(), conn.sceneBoundingRect().center().y()) |
|
1640 | 1642 |
|
1641 | 1643 |
|
1642 | 1644 |
''' |
내보내기 Unified diff