lib/taskjuggler/reports/GanttRouter.rb in taskjuggler-0.0.11 vs lib/taskjuggler/reports/GanttRouter.rb in taskjuggler-0.1.0
- old
+ new
@@ -46,11 +46,9 @@
def routeLines(fromToPoints)
# We first convert the fromToPoints list into a more readable list of
# Hash objects.
routes = []
fromToPoints.each do |touple|
- # Ignore lines where start is after end.
- next if touple[0] > touple[2]
routes << {
:startX => touple[0],
:startY => touple[1],
:endX => touple[2],
:endY => touple[3],