Added function to update of custom_gcode_per_print_z in Model from configuration
considering "colorprint_heights" option. Changed thumb_up/down icons to better preview (feedback from #3256) Commented some uncertain code
This commit is contained in:
parent
afcc6bbb08
commit
8824468882
7 changed files with 45 additions and 6 deletions
src/libslic3r
|
@ -1124,9 +1124,11 @@ void GCode::_do_export(Print& print, FILE* file)
|
|||
}
|
||||
print.throw_if_canceled();
|
||||
|
||||
// #ys_FIXME_no_exported_codes
|
||||
/*
|
||||
/* To avoid change filament for non-used extruder for Multi-material,
|
||||
* check model->custom_gcode_per_print_z using tool_ordering values
|
||||
* */
|
||||
* /
|
||||
if (!m_custom_gcode_per_print_z. empty())
|
||||
{
|
||||
bool delete_executed = false;
|
||||
|
@ -1155,7 +1157,7 @@ void GCode::_do_export(Print& print, FILE* file)
|
|||
/* If we are there, current extruder wouldn't be used,
|
||||
* so this color change is a redundant move.
|
||||
* Delete this item from m_custom_gcode_per_print_z
|
||||
* */
|
||||
* /
|
||||
it = m_custom_gcode_per_print_z.erase(it);
|
||||
delete_executed = true;
|
||||
}
|
||||
|
@ -1163,7 +1165,7 @@ void GCode::_do_export(Print& print, FILE* file)
|
|||
if (delete_executed)
|
||||
model->custom_gcode_per_print_z = m_custom_gcode_per_print_z;
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
m_cooling_buffer->set_current_extruder(initial_extruder_id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue