mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Update object list after undo/redo
This commit is contained in:
parent
1798e2a84c
commit
a29cc9e242
8 changed files with 89 additions and 19 deletions
|
@ -31,8 +31,8 @@ struct Snapshot
|
|||
|
||||
// Excerpt of Slic3r::GUI::Selection for serialization onto the Undo / Redo stack.
|
||||
struct Selection : public Slic3r::ObjectBase {
|
||||
unsigned char mode;
|
||||
std::vector<std::pair<ObjectID, ObjectID>> volumes_and_instances;
|
||||
unsigned char mode;
|
||||
std::vector<std::pair<size_t, size_t>> volumes_and_instances;
|
||||
template<class Archive> void serialize(Archive &ar) { ar(mode, volumes_and_instances); }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue