Tiny optimization in RegionExpansion wave_seeds() for empty input
This commit is contained in:
parent
23d74f453e
commit
5e5af56635
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue