mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00: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:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user