Hide purge tower preview in case of no tool changes

This commit is contained in:
SoftFever 2023-09-25 23:17:56 +08:00
parent f06b7cb526
commit 33f91c026a
2 changed files with 12 additions and 6 deletions

View file

@ -1579,7 +1579,7 @@ Vec3d PartPlate::estimate_wipe_tower_size(const double w, const double d) const
auto timelapse_type = dconfig.option<ConfigOptionEnum<TimelapseType>>("timelapse_type");
bool timelapse_enabled = timelapse_type ? (timelapse_type->value == TimelapseType::tlSmooth) : false;
double depth = d;
double depth = plate_extruders.size() == 1 ? 0 : d;
if (timelapse_enabled || depth > EPSILON) {
float min_wipe_tower_depth = 0.f;
auto iter = WipeTower::min_depth_per_height.begin();