WIP TreeSupports: Now it is possible to switch between the normal

and the "organic" supports.
This commit is contained in:
Vojtech Bubnik 2022-10-12 14:33:36 +02:00
parent 009fe1cab4
commit 2365b3a8dd
6 changed files with 216 additions and 51 deletions
src/libslic3r

View file

@ -2197,7 +2197,7 @@ void PrintObject::combine_infill()
void PrintObject::_generate_support_material()
{
if (m_config.support_material_style == smsTree) {
if (m_config.support_material_style == smsTree || m_config.support_material_style == smsOrganic) {
fff_tree_support_generate(*this, std::function<void()>([this](){ this->throw_if_canceled(); }));
} else {
PrintObjectSupportMaterial support_material(this, m_slicing_params);