diff options
author | c.lamboo <casperlamboo@gmail.com> | 2022-05-02 15:46:49 +0300 |
---|---|---|
committer | c.lamboo <casperlamboo@gmail.com> | 2022-05-02 15:46:49 +0300 |
commit | aa57c17d3c303dad57e71604541106d6301ad099 (patch) | |
tree | b66b0227a6fbf2570baedac5b1a7dc63c0e5fffc | |
parent | fdc878f944726257dbf3f5e8db3062c4f6884319 (diff) |
Revert "Set paths to `cross_boundary` is true for paths that might cross a boundary"CURA-9163
This reverts commit ade72656ec16931fd750759ce39203b03d5ea19f.
-rw-r--r-- | src/pathPlanning/Comb.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/pathPlanning/Comb.cpp b/src/pathPlanning/Comb.cpp index 329016ba0..ea8de3d8c 100644 --- a/src/pathPlanning/Comb.cpp +++ b/src/pathPlanning/Comb.cpp @@ -228,11 +228,6 @@ bool Comb::calc(const ExtruderTrain& train, Point start_point, Point end_point, comb_paths.throughAir = true; if ( vSize(start_crossing.in_or_mid - end_crossing.in_or_mid) < vSize(start_crossing.in_or_mid - start_crossing.out) + vSize(end_crossing.in_or_mid - end_crossing.out) ) { // via outside is moving more over the in-between zone - comb_paths.emplace_back(); - // we are not sure if these paths travel through air or cross a boundary - // but, they might be so set it to be certain (error on the safe side). - comb_paths.throughAir = true; - comb_paths.back().cross_boundary = true; comb_paths.back().push_back(start_crossing.in_or_mid); comb_paths.back().push_back(end_crossing.in_or_mid); } |