mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-28 08:09:55 -05:00
Another bugfixes of GCode export after refactoring.
This commit is contained in:
1 parent
b54ce0d468
commit
ab6a2b71e8
4 files changed
+6
-6
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user