Fixed typo causing test to fail

This commit is contained in:
Alessandro Ranellucci 2015-01-06 20:54:32 +01:00
parent 8f4cbefd0d
commit 39172d5a08

View File

@ -374,7 +374,7 @@ sub needs_retraction {
return 0;
}
if (defined $role && $role == EXTR_ROLE_SUPPORTMATERIAL && $self->layer->support_islands->contains_line($travel)) {
if (defined $role && $role == EXTR_ROLE_SUPPORTMATERIAL && $self->layer->support_islands->contains_polyline($travel)) {
# skip retraction if this is a travel move inside a support material island
return 0;
}