Skip to content

Commit

Permalink
Fix processing modeler joins are drawn doubled
Browse files Browse the repository at this point in the history
OCD fix: joins are actually being drawn with two lines going
in both directions. This is totally 100% unacceptable, so
this commit fixes it so they are correctly drawn only with one line.
  • Loading branch information
nyalldawson committed Jul 3, 2017
1 parent 338b4c0 commit f4d703b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/plugins/processing/modeler/ModelerArrowItem.py
Expand Up @@ -119,4 +119,6 @@ def paint(self, painter, option, widget=None):

for point in self.endPoints:
painter.drawEllipse(point.x(), point.y(), 6, 6)
painter.strokePath(self.shape(), painter.pen())

painter.setBrush(Qt.NoBrush)
painter.drawPath(self.path())

0 comments on commit f4d703b

Please sign in to comment.