There was an error while loading. Please reload this page.
1 parent 41851ca commit 98db566Copy full SHA for 98db566
CPP/Clipper2Lib/src/clipper.offset.cpp
@@ -594,7 +594,7 @@ void ClipperOffset::DoGroupOffset(Group& group)
594
595
// when shrinking outer paths, make sure they can shrink this far (#593)
596
// also when shrinking holes, make sure they too can shrink this far (#715)
597
-if (group_delta_ > 0 == ToggleBoolIf(*is_hole_it, group.is_reversed) &&
+if ((group_delta_ > 0) == ToggleBoolIf(*is_hole_it, group.is_reversed) &&
598
(std::min(path_rect_it->Width(), path_rect_it->Height()) <= -group_delta_ * 2) )
599
continue;
600
0 commit comments