Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/CuraEngine.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2021-02-23 16:07:31 +0300
committerGitHub <noreply@github.com>2021-02-23 16:07:31 +0300
commitd1c75e816e782ea4caf7563de5a820166b1466d4 (patch)
treeb8dbf1091153cb038c8f715073d8fc246890d0a3 /src/PathOrderOptimizer.h
parentf6c319452f9cc8911c10253564cc0ed7beab7603 (diff)
Apply suggestions from code review
They are so minor that i'm not going to bother the other devs with this. It's just spacing and a typo in a comment.
Diffstat (limited to 'src/PathOrderOptimizer.h')
-rw-r--r--src/PathOrderOptimizer.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/PathOrderOptimizer.h b/src/PathOrderOptimizer.h
index cd834021b..c13a13af1 100644
--- a/src/PathOrderOptimizer.h
+++ b/src/PathOrderOptimizer.h
@@ -427,16 +427,14 @@ protected:
// Don't know the path-type here, or wether it has a simplify. Also, simplification occurs in-place, which is not wanted here: Copy the polygon.
// A course simplification is needed, since Arachne has a tendency to 'smear' corners out over multiple line segments.
- // Which in itself isd a good thing, but will mess up the detection of sharp corners and such.
+ // Which in itself is a good thing, but will mess up the detection of sharp corners and such.
Polygon simple_poly(*path.converted);
if (seam_config.simplify_curvature > 0)
{
const coord_t max_simplify_dist2 = seam_config.simplify_curvature * seam_config.simplify_curvature;
-
std::fprintf(stderr, "\n\nMAX SIMPLY DIST %ld\n\n\n", max_simplify_dist2);
-
simple_poly.simplify(max_simplify_dist2, max_simplify_dist2 / 4);
}