minor changes

1. when default hotend model
2. apply speed change for current path
This commit is contained in:
SoftFever
2023-05-10 22:24:27 +08:00
parent 35f8dba5ab
commit 79a43da863
3 changed files with 7 additions and 6 deletions

View File

@@ -3189,7 +3189,7 @@ namespace PresetUtils {
out = Slic3r::resources_dir() + "/profiles/" + preset.vendor->id + "/" + pm->hotend_model;
}
if(out.empty())
if (out.empty() ||!boost::filesystem::exists(boost::filesystem::path(out)))
out = Slic3r::resources_dir() + "/profiles/hotend.stl";
return out;
}