Skip to content

Commit 2fa73f0

Browse files
committed
[processing] fixed bug in ModelerScene when position of output is not defined
1 parent 3fdf12b commit 2fa73f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/modeler/ModelerScene.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def paintModel(self, model):
123123
self.addItem(item)
124124
pos = alg.outputs[key].pos
125125
if pos is None:
126-
pos = (alg.pos() + QtCore.QPointF(ModelerGraphicItem.BOX_WIDTH, 0)
126+
pos = (alg.pos + QtCore.QPointF(ModelerGraphicItem.BOX_WIDTH, 0)
127127
+ self.algItems[alg.name].getLinkPointForOutput(idx))
128128
item.setPos(pos)
129129
outputItems[key] = item

0 commit comments

Comments
 (0)