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;
|
support_style = object_config.support_style;
|
||||||
if (support_style == smsDefault) {
|
if (support_style == smsDefault) {
|
||||||
// organic support doesn't work with variable layer heights (including adaptive layer height and height range modifier, see #4313)
|
if (is_tree(object_config.support_type)) {
|
||||||
if (!object.has_variable_layer_heights) {
|
// organic support doesn't work with variable layer heights (including adaptive layer height and height range modifier, see #4313)
|
||||||
BOOST_LOG_TRIVIAL(warning) << "tree support default to organic support";
|
if (!object.has_variable_layer_heights) {
|
||||||
support_style = smsTreeOrganic;
|
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 {
|
} else {
|
||||||
BOOST_LOG_TRIVIAL(warning) << "tree support default to hybrid tree due to adaptive layer height";
|
support_style = smsGrid;
|
||||||
support_style = smsTreeHybrid;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue