diff options
author | YuSanka <yusanka@gmail.com> | 2019-11-12 12:28:01 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2019-11-12 12:42:20 +0300 |
commit | 74e4a743af3eb939307baff8df1d84f2ef5dd176 (patch) | |
tree | 5e68593a5826cdbb13e753ef30a195dfade4bfee /src/slic3r/GUI/wxExtensions.hpp | |
parent | 519291394abcec3641865f0509cb0155c24e3d39 (diff) |
Added missed update for a config after extruder change from the ObjectList.
Fixed erase "tool_change" ticks from ticks set.
Diffstat (limited to 'src/slic3r/GUI/wxExtensions.hpp')
-rw-r--r-- | src/slic3r/GUI/wxExtensions.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/slic3r/GUI/wxExtensions.hpp b/src/slic3r/GUI/wxExtensions.hpp index 32e96f326..cedff40c5 100644 --- a/src/slic3r/GUI/wxExtensions.hpp +++ b/src/slic3r/GUI/wxExtensions.hpp @@ -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) { |