FIX:use extruder_clearance_radius para not max radius

jira: STUDIO-7851
Change-Id: I34b00a5997fbebe89519fb17545c8a5f6c948bcf
This commit is contained in:
zhou.xu 2024-08-26 16:30:23 +08:00 committed by Lane.Wei
parent 050f51fe15
commit 49f67b80e5
1 changed files with 1 additions and 1 deletions

View File

@ -5318,7 +5318,7 @@ void GLCanvas3D::update_sequential_clearance()
if (all_objects_are_short) if (all_objects_are_short)
shrink_factor = scale_(0.5 * MAX_OUTER_NOZZLE_RADIUS - 0.1); shrink_factor = scale_(0.5 * MAX_OUTER_NOZZLE_RADIUS - 0.1);
else else
shrink_factor = static_cast<float>(scale_(0.5 * fff_print()->config().extruder_clearance_max_radius.value - EPSILON)); shrink_factor = static_cast<float>(scale_(0.5 * fff_print()->config().extruder_clearance_radius.value - EPSILON));
double mitter_limit = scale_(0.1); double mitter_limit = scale_(0.1);
m_sequential_print_clearance.m_hull_2d_cache.reserve(m_model->objects.size()); m_sequential_print_clearance.m_hull_2d_cache.reserve(m_model->objects.size());