mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-17 02:41:48 +08:00
Removed an incorrectly placed status line update, causing stack
overflow in unit tests.
This commit is contained in:
parent
eed15c459b
commit
8639df1cfd
@ -397,11 +397,6 @@ void PrintObject::generate_support_material()
|
||||
this->_generate_support_material();
|
||||
}
|
||||
this->state.set_done(posSupportMaterial);
|
||||
char stats[128];
|
||||
//FIXME this does not belong here! Why should the status bar be updated with the object weight
|
||||
// at the end of object's support.?
|
||||
sprintf(stats, "Weight: %.1lfg, Cost: %.1lf", this->_print->total_weight, this->_print->total_cost);
|
||||
this->_print->set_status(85, stats);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user