Skip to content

Commit

Permalink
fix: remove debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Vaiko committed Oct 8, 2024
1 parent 6d1f104 commit 0e9d6b0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/courseGenerator/Center.lua
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ function Center:_calculateRowDistribution(fieldWidth, overlapLast)
-- making the field width 1 cm less to avoid generating the last row exactly on the headland if
-- the field width is an exact multiple of the working width
local nRows = math.floor((fieldWidth - headlandWorkingWidth - 0.01) / centerWorkingWidth) + 1
print('nRows', nRows, self.mayOverlapHeadland)
if nRows == 0 then
-- only one row fits between the headlands
if overlapLast then
Expand Down

0 comments on commit 0e9d6b0

Please sign in to comment.