Skip to content
Permalink
Browse files

Fix processing modeler joins are drawn doubled

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 f4d703bd382008e5f9fb29cbfb6ac3d28675eba6
Showing with 3 additions and 1 deletion.
  1. +3 −1 python/plugins/processing/modeler/ModelerArrowItem.py
@@ -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.
You can’t perform that action at this time.