mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-01 04:32:01 +08:00
fix reset() call on a copy (PR #12737)
This commit is contained in:
parent
e1b33bacf2
commit
357264272d
@ -73,7 +73,7 @@ namespace Slic3r {
|
||||
PrintEstimatedStatistics() { reset(); }
|
||||
|
||||
void reset() {
|
||||
for (auto m : modes) {
|
||||
for (Mode &m : modes) {
|
||||
m.reset();
|
||||
}
|
||||
volumes_per_color_change.clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user