Skip to content

Commit a606402

Browse files
committed
Remove unused code
CURA-12833
1 parent 3871ecb commit a606402

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/bridge.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#include "bridge.h"
55

66
#include <range/v3/action/stable_sort.hpp>
7-
#include <spdlog/spdlog.h>
8-
#include <spdlog/stopwatch.h>
97

108
#include "geometry/Point2D.h"
119
#include "geometry/PointMatrix.h"
@@ -165,8 +163,6 @@ coord_t evaluateBridgeLine(const coord_t line_y, const TransformedShape& transfo
165163
}
166164

167165
const bool leaving_skin = next_intersection_is_skin_area && ! next_inside_skin_area;
168-
// const bool reaching_skin = next_intersection_is_skin && next_inside_skin;
169-
// const bool leaving_supported = next_intersection_is_supported && ! next_inside_supported;
170166
const bool reaching_supported = next_intersection_is_supported_area && next_inside_supported_area;
171167
bool add_bridging_segment = false;
172168
bool add_hanging_segment = false;
@@ -357,8 +353,6 @@ std::optional<AngleDegrees> bridgeAngle(
357353

358354
AABB boundary_box(skin_outline);
359355

360-
spdlog::stopwatch timer;
361-
362356
const coord_t line_width = settings.get<coord_t>("skin_line_width");
363357

364358
// To detect if we have a bridge, first calculate the intersection of the current layer with the previous layer.

0 commit comments

Comments
 (0)