mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
TriangleSelector: 3MF loading and saving
This commit is contained in:
parent
7ddb64783b
commit
248fba82a4
4 changed files with 78 additions and 0 deletions
|
@ -603,6 +603,7 @@ void TriangleSelector::deserialize(const std::map<int, std::vector<bool>> data)
|
|||
reset(); // dump any current state
|
||||
for (const auto& [triangle_id, code] : data) {
|
||||
assert(triangle_id < int(m_triangles.size()));
|
||||
assert(! code.empty());
|
||||
int processed_triangles = 0;
|
||||
struct ProcessingInfo {
|
||||
int facet_id = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue