Skip to content

Commit

Permalink
Fix for #45
Browse files Browse the repository at this point in the history
  • Loading branch information
flippmoke committed Nov 8, 2016
1 parent 975613f commit 78e0e8b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/mapbox/geometry/wagyu/intersect_util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -360,10 +360,11 @@ void process_intersections(T top_y,
fill_type subject_fill_type,
fill_type clip_fill_type,
ring_manager<T>& rings) {
if (active_bounds.empty()) {
return;
}
update_current_x(active_bounds, top_y);

intersect_list<T> intersects;
intersects.reserve(active_bounds.size());
build_intersect_list(active_bounds, intersects);

if (intersects.empty()) {
Expand Down

0 comments on commit 78e0e8b

Please sign in to comment.