GCodeAnalyzer: Fixed a crash when encountering an invalid toolchange
This commit is contained in:
parent
a62bba2508
commit
44c3493f7d
3 changed files with 17 additions and 1 deletions
|
@ -108,6 +108,7 @@ private:
|
|||
GCodeReader m_parser;
|
||||
TypeToMovesMap m_moves_map;
|
||||
ExtruderOffsetsMap m_extruder_offsets;
|
||||
unsigned int m_extruders_count;
|
||||
GCodeFlavor m_gcode_flavor;
|
||||
|
||||
// The output of process_layer()
|
||||
|
@ -117,6 +118,7 @@ public:
|
|||
GCodeAnalyzer();
|
||||
|
||||
void set_extruder_offsets(const ExtruderOffsetsMap& extruder_offsets);
|
||||
void set_extruders_count(unsigned int count);
|
||||
|
||||
void set_gcode_flavor(const GCodeFlavor& flavor);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue