mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
FIX: skip gcode path conflict check for adaptive layer height
adaptive layer height won't work with conflict checker because m_fake_wipe_tower's path is generated using fixed layer height. Jira: STUDIO-4442 Change-Id: I964a69af2fa0be8224ffc11e4c86f8ccf6dbf152 (cherry picked from commit e8c915f9e0b8c8f6cb549259b20d6d850a06d7d3)
This commit is contained in:
@@ -1797,7 +1797,15 @@ void Print::process(bool use_cache)
|
||||
}
|
||||
|
||||
// BBS
|
||||
if(!m_no_check)
|
||||
bool has_adaptive_layer_height = false;
|
||||
for (PrintObject* obj : m_objects) {
|
||||
if (obj->model_object()->layer_height_profile.empty() == false) {
|
||||
has_adaptive_layer_height = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
// TODO adaptive layer height won't work with conflict checker because m_fake_wipe_tower's path is generated using fixed layer height
|
||||
if(!m_no_check && !has_adaptive_layer_height)
|
||||
{
|
||||
using Clock = std::chrono::high_resolution_clock;
|
||||
auto startTime = Clock::now();
|
||||
|
||||
Reference in New Issue
Block a user