Bugfix: bridge speed was still used for first object layer above raft when support_material_contact_distance == 0. Includes regression tests. #2656

This commit is contained in:
Alessandro Ranellucci 2015-02-14 12:47:33 +01:00
parent dd17682fac
commit 6eb1fa36ed
2 changed files with 42 additions and 2 deletions

View file

@ -650,7 +650,7 @@ sub detect_surfaces_type {
# if we have raft layers, consider bottom layer as a bridge
# just like any other bottom surface lying on the void
if ($self->config->raft_layers > 0) {
if ($self->config->raft_layers > 0 && $self->config->support_material_contact_distance > 0) {
$_->surface_type(S_TYPE_BOTTOMBRIDGE) for @bottom;
} else {
$_->surface_type(S_TYPE_BOTTOM) for @bottom;