mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
optimized hot end model
This commit is contained in:
@@ -3187,6 +3187,9 @@ namespace PresetUtils {
|
||||
if (!boost::filesystem::exists(boost::filesystem::path(out)))
|
||||
out = Slic3r::resources_dir() + "/profiles/" + preset.vendor->id + "/" + pm->hotend_model;
|
||||
}
|
||||
|
||||
if(out.empty())
|
||||
out = Slic3r::resources_dir() + "/profiles/hotend.stl";
|
||||
return out;
|
||||
}
|
||||
} // namespace PresetUtils
|
||||
|
||||
@@ -504,6 +504,9 @@ std::string PresetBundle::get_hotend_model_for_printer_model(std::string model_n
|
||||
out = Slic3r::resources_dir() + "/profiles/" + vendor_name + "/" + hotend_stl;
|
||||
}
|
||||
|
||||
if (out.empty())
|
||||
out = Slic3r::resources_dir() + "/profiles/hotend.stl";
|
||||
|
||||
return out;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user