mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-19 17:14:28 +08:00
Fix of 2b0e1633cf2b1ff8c7906c3c117d7dada001cbee, 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
@ -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), "
|
"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.");
|
"all nozzles have to be of the same diameter.");
|
||||||
}
|
}
|
||||||
|
if (this->has_wipe_tower()) {
|
||||||
if (object->config().support_material_contact_distance == 0) {
|
if (object->config().support_material_contact_distance == 0) {
|
||||||
// Soluble interface
|
// Soluble interface
|
||||||
if (object->config().support_material_contact_distance == 0 && ! object->config().support_material_synchronize_layers)
|
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).");
|
"(both support_material_extruder and support_material_interface_extruder need to be set to 0).");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// validate first_layer_height
|
// validate first_layer_height
|
||||||
double first_layer_height = object->config().get_abs_value(L("first_layer_height"));
|
double first_layer_height = object->config().get_abs_value(L("first_layer_height"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user