mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-09-13 03:43:14 +08:00
Follow-up to bdb8c3729f393a80810924de4cec02a1502e50c7
Fixing ExtrusionEntityCollection append move operator (fixing double destruction of ExtrusionEntityCollections)
This commit is contained in:
parent
08c6e4faec
commit
5c8ff73fb1
@ -68,6 +68,9 @@ public:
|
||||
entities.insert(entities.end(),
|
||||
std::make_move_iterator(src.begin()),
|
||||
std::make_move_iterator(src.end()));
|
||||
// Removing pointers to polymorphic extrusions from the donor object
|
||||
// so that they will not be deleted twice.
|
||||
src.clear();
|
||||
}
|
||||
}
|
||||
void append(const ExtrusionPaths &paths) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user