fix reset() call on a copy (PR #12737)

This commit is contained in:
Merill 2024-05-21 17:56:11 +02:00 committed by Lukas Matena
parent e1b33bacf2
commit 357264272d

View File

@ -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();