mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-12 10:09:00 +08:00
Removed warning about unused variables
This commit is contained in:
parent
8efbc7636e
commit
5f038e85ef
@ -507,9 +507,6 @@ MedialAxis::build(ThickPolylines* polylines)
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
typedef const VD::vertex_type vert_t;
|
|
||||||
typedef const VD::edge_type edge_t;
|
|
||||||
|
|
||||||
// collect valid edges (i.e. prune those not belonging to MAT)
|
// collect valid edges (i.e. prune those not belonging to MAT)
|
||||||
// note: this keeps twins, so it inserts twice the number of the valid edges
|
// note: this keeps twins, so it inserts twice the number of the valid edges
|
||||||
this->valid_edges.clear();
|
this->valid_edges.clear();
|
||||||
@ -534,7 +531,7 @@ MedialAxis::build(ThickPolylines* polylines)
|
|||||||
|
|
||||||
// iterate through the valid edges to build polylines
|
// iterate through the valid edges to build polylines
|
||||||
while (!this->edges.empty()) {
|
while (!this->edges.empty()) {
|
||||||
const edge_t* edge = *this->edges.begin();
|
const VD::edge_type* edge = *this->edges.begin();
|
||||||
|
|
||||||
// start a polyline
|
// start a polyline
|
||||||
ThickPolyline polyline;
|
ThickPolyline polyline;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user