mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-06-27 21:16:25 +03:00
Slightly faster time estimation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user