mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 12:47:50 -06:00
Debug Improvments on Windows (#3275)
* fix assert statements * Add ORCA_INCLUDE_DEBUG_INFO to deps cmake adds option ORCA_INCLUDE_DEBUG_INFO to deps build script to allow an alternative for RelWithDebInfo that works on windows * add build type option to windows script * update .gitignore to include build*
This commit is contained in:
parent
73481da6da
commit
c4a66f36ae
8 changed files with 84 additions and 35 deletions
|
@ -156,7 +156,7 @@ void PressureEqualizer::process_layer(const std::string &gcode)
|
|||
long PressureEqualizer::advance_segment_beyond_small_gap(const long idx_orig)
|
||||
{
|
||||
// this should only be run on the last extruding line before a gap
|
||||
assert(m_gcode_lines[idx_cur_pos].extruding());
|
||||
assert(m_gcode_lines[idx_orig].extruding());
|
||||
double distance_traveled = 0.0;
|
||||
// start at beginning of gap, advance till extrusion found or gap too big
|
||||
for (auto idx_cur_pos = idx_orig + 1; idx_cur_pos < m_gcode_lines.size(); idx_cur_pos++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue