mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
[processing] fixed bug in ModelerScene when position of output is not defined
This commit is contained in:
parent
3fdf12b947
commit
2fa73f0b9e
@ -123,7 +123,7 @@ class ModelerScene(QtGui.QGraphicsScene):
|
||||
self.addItem(item)
|
||||
pos = alg.outputs[key].pos
|
||||
if pos is None:
|
||||
pos = (alg.pos() + QtCore.QPointF(ModelerGraphicItem.BOX_WIDTH, 0)
|
||||
pos = (alg.pos + QtCore.QPointF(ModelerGraphicItem.BOX_WIDTH, 0)
|
||||
+ self.algItems[alg.name].getLinkPointForOutput(idx))
|
||||
item.setPos(pos)
|
||||
outputItems[key] = item
|
||||
|
Loading…
x
Reference in New Issue
Block a user