Move many speed settings to PrintRegionConfig

This commit is contained in:
Alessandro Ranellucci 2014-05-15 18:49:11 +02:00
parent ad99b2a0fd
commit ac0a91a162
2 changed files with 37 additions and 29 deletions

View file

@ -125,7 +125,7 @@ sub make_perimeters {
)};
# look for gaps
if ($self->print->config->gap_fill_speed > 0 && $self->config->fill_density > 0) {
if ($self->region->config->gap_fill_speed > 0 && $self->config->fill_density > 0) {
# not using safety offset here would "detect" very narrow gaps
# (but still long enough to escape the area threshold) that gap fill
# won't be able to fill but we'd still remove from infill area