mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 06:26:06 +08:00
SPE-1762: Fixed crash in GCcodeViewer when loading gcode files generated with Cura
This commit is contained in:
parent
7c1d2ea532
commit
8b255e8e9b
@ -1065,6 +1065,9 @@ void GCodeProcessor::process_file(const std::string& filename, std::function<voi
|
||||
apply_config_superslicer(filename);
|
||||
else if (m_producer == EProducer::KissSlicer)
|
||||
apply_config_kissslicer(filename);
|
||||
|
||||
if (m_result.extruders_count == 0)
|
||||
m_result.extruders_count = MIN_EXTRUDERS_COUNT;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user