FIX: protect when support_style doesnt match type
jira: STUDIO-8800 Change-Id: I7d42f95ba43b4b3a47a83ae59afaaf9bc94baa5d (cherry picked from commit d4bc450af6d2381bd5eb891c1395ebd50ca1c322)
This commit is contained in:
@@ -1650,6 +1650,8 @@ void TreeSupport::move_bounds_to_contact_nodes(std::vector<TreeSupport3D::Suppor
|
||||
|
||||
void TreeSupport::generate()
|
||||
{
|
||||
if (!is_tree(m_object_config->support_type.value)) return;
|
||||
|
||||
if (m_support_params.support_style == smsTreeOrganic) {
|
||||
generate_tree_support_3D(*m_object, this, this->throw_on_cancel);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user