Skip to content
Permalink
Browse files

[processing] fixed bug in ModelerScene when position of output is not…

… defined
  • Loading branch information
volaya committed Aug 22, 2014
1 parent 3fdf12b commit 2fa73f0b9ea7809d129a98a2097b23d988b5a0f2
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/modeler/ModelerScene.py
@@ -123,7 +123,7 @@ def paintModel(self, model):
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

0 comments on commit 2fa73f0

Please sign in to comment.
You can’t perform that action at this time.