Path: Adaptive - fixes

This commit is contained in:
kreso-t
2018-09-08 10:05:54 +02:00
committed by wmayer
parent 02da157bef
commit 6bb5a080f6
2 changed files with 7 additions and 7 deletions

View File

@@ -1734,7 +1734,7 @@ namespace AdaptivePath {
Paths engageBounds = toolBoundPaths;
if(FindEntryPointOutside(progressPaths, toolBoundPaths, boundPaths, cleared, entryPoint, toolPos,toolDir)) {
if(!forceInsideOut && FindEntryPointOutside(progressPaths, toolBoundPaths, boundPaths, cleared, entryPoint, toolPos,toolDir)) {
if( Orientation(engageBounds[0])<0) ReversePath(engageBounds[0]);
//engageBounds.erase(engageBounds.begin());
// add initial offset of cleared area to engage paths