Tiny optimization in RegionExpansion wave_seeds() for empty input
This commit is contained in:
parent
23d74f453e
commit
5e5af56635
@ -206,7 +206,7 @@ std::vector<WaveSeed> wave_seeds(
|
||||
{
|
||||
assert(tiny_expansion > 0);
|
||||
|
||||
if (src.empty())
|
||||
if (src.empty() || boundary.empty())
|
||||
return {};
|
||||
|
||||
using Intersection = ClipperZUtils::ClipperZIntersectionVisitor::Intersection;
|
||||
|
Loading…
Reference in New Issue
Block a user