Added missed update for a config after extruder change from the ObjectList.

Fixed erase "tool_change" ticks from ticks set.
This commit is contained in:
YuSanka 2019-11-12 10:28:01 +01:00
parent 519291394a
commit 74e4a743af
3 changed files with 27 additions and 3 deletions

View file

@ -1014,6 +1014,20 @@ public:
return *this;
}
bool operator==(const ExtrudersSequence& other) const
{
return (other.is_mm_intervals == this->is_mm_intervals ) &&
(other.interval_by_mm == this->interval_by_mm ) &&
(other.interval_by_layers == this->interval_by_layers ) &&
(other.extruders == this->extruders ) ;
}
bool operator!=(const ExtrudersSequence& other) const
{
return (other.is_mm_intervals != this->is_mm_intervals ) &&
(other.interval_by_mm != this->interval_by_mm ) &&
(other.interval_by_layers != this->interval_by_layers ) &&
(other.extruders != this->extruders ) ;
}
void add_extruder(size_t pos)
{