개정판 40de59af
issue #000: fix symbol insert
Change-Id: I1d1032037933cd2cbfe993c70dd626523ab0c990
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
2349 | 2349 |
scenePos = self.current_pos |
2350 | 2350 |
|
2351 | 2351 |
svg = QtImageViewer.createSymbolObject(symName) |
2352 |
QtImageViewer.matchSymbolToLine(self.graphicsView.scene(), svg, scenePos, angle=old_symbol.angle) |
|
2352 |
QtImageViewer.matchSymbolToLine(self.graphicsView.scene(), svg, scenePos, angle=old_symbol.angle if old_symbol else 0.0)
|
|
2353 | 2353 |
|
2354 | 2354 |
if old_symbol and svg: |
2355 | 2355 |
from ReplaceCommand import ReplaceCommand |
내보내기 Unified diff