Skip to content

Commit

Permalink
Fix flood fill bug mentioned in #672 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
OverloadedOrama committed May 2, 2022
1 parent 9a43d4b commit 9e7dd12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tools/Bucket.gd
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ func _flood_line_around_point(
segment.todo_below = position.y < project.size.y - 1
# this is an actual segment we should be coloring, so we add it to the results for the
# current image
if segment.right_position > segment.left_position:
if segment.right_position >= segment.left_position:
_allegro_image_segments.append(segment)
# we know the point just east of the segment is not part of a segment that should be
# processed, else it would be part of this segment
Expand Down

0 comments on commit 9e7dd12

Please sign in to comment.