SLA gizmo - combo replaced by slider, autogeneration uses config value for head_diameter

This commit is contained in:
Lukas Matena 2019-03-13 12:02:33 +01:00
parent 63b65bb3c8
commit 03beb1870b
5 changed files with 29 additions and 30 deletions

View file

@ -496,7 +496,7 @@ void SLAAutoSupports::uniformly_cover(const ExPolygons& islands, Structure& stru
poisson_samples.erase(poisson_samples.begin() + poisson_samples_target, poisson_samples.end());
}
for (const Vec2f &pt : poisson_samples) {
m_output.emplace_back(float(pt(0)), float(pt(1)), structure.height, 0.2f, is_new_island);
m_output.emplace_back(float(pt(0)), float(pt(1)), structure.height, m_config.head_diameter/2.f, is_new_island);
structure.supports_force_this_layer += m_config.support_force();
grid3d.insert(pt, &structure);
}