mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
ENH: adjust ExtrusionCalibration image related
Change-Id: Icca866dc5a164dee7da420f2fc04976bcfb42d04
This commit is contained in:
parent
07282cc078
commit
8a3b39345e
7 changed files with 53 additions and 19 deletions
|
@ -431,7 +431,7 @@ bool MachineObject::is_in_extrusion_cali()
|
|||
{
|
||||
auto curr_time = std::chrono::system_clock::now();
|
||||
auto diff = std::chrono::duration_cast<std::chrono::milliseconds>(curr_time - last_extrusion_cali_start_time);
|
||||
if (diff.count() > EXTRUSION_OMIT_TIME) {
|
||||
if (diff.count() < EXTRUSION_OMIT_TIME) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -449,7 +449,7 @@ bool MachineObject::is_extrusion_cali_finished()
|
|||
{
|
||||
auto curr_time = std::chrono::system_clock::now();
|
||||
auto diff = std::chrono::duration_cast<std::chrono::milliseconds>(curr_time - last_extrusion_cali_start_time);
|
||||
if (diff.count() > EXTRUSION_OMIT_TIME) {
|
||||
if (diff.count() < EXTRUSION_OMIT_TIME) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue