Put debug code behind #ifdef
This commit is contained in:
parent
33b9f37b0b
commit
f5911c330f
1 changed files with 2 additions and 0 deletions
|
@ -1216,12 +1216,14 @@ PrintObject::check_nonplanar_collisions(NonplanarSurface &surface)
|
|||
ApplySafetyOffset::No),
|
||||
collider);
|
||||
|
||||
#ifdef SLIC3R_DEBUG_SLICE_PROCESSING
|
||||
{
|
||||
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.draw_outline(collider, "black", scale_(0.1f));
|
||||
svg.Close();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue