Supports were printed twice if synchronized with object layers, added always-on settings in ObjectSettingDialog

This commit is contained in:
Lukas Matena 2018-07-10 13:02:43 +02:00
parent 4c823b840f
commit e44480d61f
2 changed files with 16 additions and 3 deletions

View file

@ -1365,7 +1365,7 @@ void GCode::process_layer(
m_avoid_crossing_perimeters.use_external_mp_once = true;
m_last_obj_copy = this_object_copy;
this->set_origin(unscale(copy.x), unscale(copy.y));
if (object_by_extruder.support != nullptr) {
if (object_by_extruder.support != nullptr && !print_wipe_extrusions) {
m_layer = layers[layer_id].support_layer;
gcode += this->extrude_support(
// support_extrusion_role is erSupportMaterial, erSupportMaterialInterface or erMixed for all extrusion paths.