diff options
author | Ghostkeeper <rubend@tutanota.com> | 2020-07-15 19:31:10 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2020-07-15 19:31:10 +0300 |
commit | 25f0f983087c7be8f61777f565f713e96734581f (patch) | |
tree | 2103aa1354381b835844fea0b13604c7ce87091e /src/PathOrderOptimizer.h | |
parent | 793d0bc2e2896e6d680e07eee300ef0cafc91aec (diff) |
Fix forgotten brackets
Still want to align that code though, so you can see that the two cases are essentially the same. Readability over style.
Contributes to issue CURA-7558.
Diffstat (limited to 'src/PathOrderOptimizer.h')
-rw-r--r-- | src/PathOrderOptimizer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PathOrderOptimizer.h b/src/PathOrderOptimizer.h index af1b0b62d..d0ed71c74 100644 --- a/src/PathOrderOptimizer.h +++ b/src/PathOrderOptimizer.h @@ -382,7 +382,7 @@ protected: if(seam_config.type == EZSeamType::USER_SPECIFIED) //If user-specified, the seam always needs to be the closest vertex that applies within the filter of the CornerPrefType. Give it a big penalty otherwise. { if((seam_config.corner_pref == EZSeamCornerPrefType::Z_SEAM_CORNER_PREF_INNER && corner_angle <= 0) - || seam_config.corner_pref == EZSeamCornerPrefType::Z_SEAM_CORNER_PREF_OUTER && corner_angle >= 0) + || (seam_config.corner_pref == EZSeamCornerPrefType::Z_SEAM_CORNER_PREF_OUTER && corner_angle >= 0)) { score += 1000000; //1 meter penalty. } |