mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
Another bugfixes of GCode export after refactoring.
This commit is contained in:
parent
b54ce0d468
commit
ab6a2b71e8
4 changed files with 6 additions and 6 deletions
|
@ -23,8 +23,9 @@ void GCodeWriter::apply_print_config(const PrintConfig &print_config)
|
|||
print_config.machine_max_acceleration_extruding.values.front() : 0);
|
||||
}
|
||||
|
||||
void GCodeWriter::set_extruders(const std::vector<unsigned int> &extruder_ids)
|
||||
void GCodeWriter::set_extruders(std::vector<unsigned int> extruder_ids)
|
||||
{
|
||||
std::sort(extruder_ids.begin(), extruder_ids.end());
|
||||
m_extruders.clear();
|
||||
m_extruders.reserve(extruder_ids.size());
|
||||
for (unsigned int extruder_id : extruder_ids)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue