Path.Area: fix offset pocket mode

This commit is contained in:
Zheng, Lei
2018-09-24 14:31:47 +08:00
committed by wmayer
parent df0eb076a6
commit 35f6a4fa72

View File

@@ -1955,6 +1955,8 @@ void Area::makeOffset(list<shared_ptr<CArea> > &areas,
areas.pop_front();
else
areas.pop_back();
if(areas.empty())
break;
if(last_stepover && last_stepover>stepover) {
offset -= stepover;
stepover = last_stepover;