Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] fixed bug in ModelerScene when position of output is not…
… defined
  • Loading branch information
volaya committed Aug 22, 2014
1 parent 3fdf12b commit 2fa73f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/modeler/ModelerScene.py
Expand Up @@ -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
Expand Down

0 comments on commit 2fa73f0

Please sign in to comment.