Skip to content

Commit f4d703b

Browse files
committedJul 3, 2017
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.
1 parent 338b4c0 commit f4d703b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎python/plugins/processing/modeler/ModelerArrowItem.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,6 @@ def paint(self, painter, option, widget=None):
119119

120120
for point in self.endPoints:
121121
painter.drawEllipse(point.x(), point.y(), 6, 6)
122-
painter.strokePath(self.shape(), painter.pen())
122+
123+
painter.setBrush(Qt.NoBrush)
124+
painter.drawPath(self.path())

0 commit comments

Comments
 (0)
Please sign in to comment.