Don't apply acceleration settings to travel moves

This commit is contained in:
Alessandro Ranellucci 2013-03-09 20:28:03 +01:00
parent b7b89ff7f2
commit 2acda9973e
3 changed files with 19 additions and 6 deletions

View file

@ -93,6 +93,13 @@ sub endpoints {
sub is_printable { 1 }
sub is_perimeter {
my $self = shift;
return $self->role == EXTR_ROLE_PERIMETER
|| $self->role == EXTR_ROLE_EXTERNAL_PERIMETER
|| $self->role == EXTR_ROLE_CONTOUR_INTERNAL_PERIMETER;
}
sub is_fill {
my $self = shift;
return $self->role == EXTR_ROLE_FILL