Fix of 2b0e1633cf
, where
the Print::validate() tested wipe tower specific stuff incorrectly even if the wipe tower was not active.
This commit is contained in:
parent
3d2c7f05ee
commit
2f6bf3e3f2
1 changed files with 12 additions and 10 deletions
|
@ -1312,6 +1312,7 @@ std::string Print::validate() const
|
|||
"If support is to be printed with the current extruder (support_material_extruder == 0 or support_material_interface_extruder == 0), "
|
||||
"all nozzles have to be of the same diameter.");
|
||||
}
|
||||
if (this->has_wipe_tower()) {
|
||||
if (object->config().support_material_contact_distance == 0) {
|
||||
// Soluble interface
|
||||
if (object->config().support_material_contact_distance == 0 && ! object->config().support_material_synchronize_layers)
|
||||
|
@ -1323,6 +1324,7 @@ std::string Print::validate() const
|
|||
"(both support_material_extruder and support_material_interface_extruder need to be set to 0).");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// validate first_layer_height
|
||||
double first_layer_height = object->config().get_abs_value(L("first_layer_height"));
|
||||
|
|
Loading…
Add table
Reference in a new issue