FIX: normal support crash
jira: STUDIO-8531 Change-Id: Ic4b13b253b8e2647f3bec78b5e9c698a18519285
This commit is contained in:
parent
66a58c26c3
commit
e773e3a5ef
|
@ -166,13 +166,17 @@ struct SupportParameters {
|
|||
|
||||
support_style = object_config.support_style;
|
||||
if (support_style == smsDefault) {
|
||||
// organic support doesn't work with variable layer heights (including adaptive layer height and height range modifier, see #4313)
|
||||
if (!object.has_variable_layer_heights) {
|
||||
BOOST_LOG_TRIVIAL(warning) << "tree support default to organic support";
|
||||
support_style = smsTreeOrganic;
|
||||
if (is_tree(object_config.support_type)) {
|
||||
// organic support doesn't work with variable layer heights (including adaptive layer height and height range modifier, see #4313)
|
||||
if (!object.has_variable_layer_heights) {
|
||||
BOOST_LOG_TRIVIAL(warning) << "tree support default to organic support";
|
||||
support_style = smsTreeOrganic;
|
||||
} else {
|
||||
BOOST_LOG_TRIVIAL(warning) << "tree support default to hybrid tree due to adaptive layer height";
|
||||
support_style = smsTreeHybrid;
|
||||
}
|
||||
} else {
|
||||
BOOST_LOG_TRIVIAL(warning) << "tree support default to hybrid tree due to adaptive layer height";
|
||||
support_style = smsTreeHybrid;
|
||||
support_style = smsGrid;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue