FIX: fix the seq_print circle size not correct

Change-Id: Ie0674c2653e1db691447c150d9c669967960650e
This commit is contained in:
lane.wei 2022-12-24 22:49:55 +08:00 committed by Lane.Wei
parent 49f8d0df50
commit 4385a8b33e

View file

@ -4891,7 +4891,7 @@ void GLCanvas3D::update_sequential_clearance()
// the results are then cached for following displacements
if (m_sequential_print_clearance_first_displacement) {
m_sequential_print_clearance.m_hull_2d_cache.clear();
float shrink_factor = static_cast<float>(scale_(0.5 * fff_print()->config().extruder_clearance_radius.value - EPSILON));
float shrink_factor = static_cast<float>(scale_(0.5 * fff_print()->config().extruder_clearance_max_radius.value - EPSILON));
double mitter_limit = scale_(0.1);
m_sequential_print_clearance.m_hull_2d_cache.reserve(m_model->objects.size());
for (size_t i = 0; i < m_model->objects.size(); ++i) {