Put debug code behind #ifdef
This commit is contained in:
parent
33b9f37b0b
commit
f5911c330f
@ -1216,12 +1216,14 @@ PrintObject::check_nonplanar_collisions(NonplanarSurface &surface)
|
|||||||
ApplySafetyOffset::No),
|
ApplySafetyOffset::No),
|
||||||
collider);
|
collider);
|
||||||
|
|
||||||
|
#ifdef SLIC3R_DEBUG_SLICE_PROCESSING
|
||||||
{
|
{
|
||||||
static int iRun = 0;
|
static int iRun = 0;
|
||||||
SVG svg(debug_out_path("Layer-%u-collider-%u_layer%.2f.svg", layer->id(), iRun++, layer->print_z), get_extents(layerm->slices().surfaces));
|
SVG svg(debug_out_path("Layer-%u-collider-%u_layer%.2f.svg", layer->id(), iRun++, layer->print_z), get_extents(layerm->slices().surfaces));
|
||||||
svg.draw_outline(collider, "black", scale_(0.1f));
|
svg.draw_outline(collider, "black", scale_(0.1f));
|
||||||
svg.Close();
|
svg.Close();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user