mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Slightly faster time estimation
This commit is contained in:
parent
c1d1721dae
commit
4b8e10a05c
3 changed files with 12 additions and 6 deletions
|
@ -196,11 +196,14 @@ namespace Slic3r {
|
|||
}
|
||||
}
|
||||
|
||||
void GCodeTimeEstimator::calculate_time()
|
||||
void GCodeTimeEstimator::calculate_time(bool start_from_beginning)
|
||||
{
|
||||
PROFILE_FUNC();
|
||||
_reset_time();
|
||||
_set_blocks_st_synchronize(false);
|
||||
if (start_from_beginning)
|
||||
{
|
||||
_reset_time();
|
||||
_set_blocks_st_synchronize(false);
|
||||
}
|
||||
_calculate_time();
|
||||
|
||||
#if ENABLE_MOVE_STATS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue