diff options
author | bubnikv <bubnikv@gmail.com> | 2019-07-02 17:42:23 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2019-07-02 17:42:23 +0300 |
commit | 5e846112eee7ff881b2fe5754d3136e152fe3220 (patch) | |
tree | 73f37178bf4560b84e05000e42e876448eee941d /src/libslic3r/SLA | |
parent | 27ee68d2f9666f5ad48d5ffacf1d6ea404156dda (diff) |
WIP UndoRedo: Added Undo/Redo stack, added Platter::take_snapshot(),
experimental snapshots on loading STLs and increasing / decreasing
model instances.
Diffstat (limited to 'src/libslic3r/SLA')
-rw-r--r-- | src/libslic3r/SLA/SLACommon.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libslic3r/SLA/SLACommon.hpp b/src/libslic3r/SLA/SLACommon.hpp index 855802759..247e89dbb 100644 --- a/src/libslic3r/SLA/SLACommon.hpp +++ b/src/libslic3r/SLA/SLACommon.hpp @@ -43,6 +43,8 @@ struct SupportPoint { bool operator==(const SupportPoint& sp) const { return (pos==sp.pos) && head_front_radius==sp.head_front_radius && is_new_island==sp.is_new_island; } bool operator!=(const SupportPoint& sp) const { return !(sp == (*this)); } + + template<class Archive> void serialize(Archive &ar) { ar(pos, head_front_radius, is_new_island); } }; /// An index-triangle structure for libIGL functions. Also serves as an |