Store config in Slic3r::GCode object

This commit is contained in:
Alessandro Ranellucci 2013-05-31 11:19:36 +02:00
parent 7baaf6bf5d
commit da76496988
3 changed files with 72 additions and 68 deletions

View file

@ -688,6 +688,7 @@ sub write_gcode {
# set up our extruder object
my $gcodegen = Slic3r::GCode->new(
config => $self->config,
multiple_extruders => (@{$self->extruders} > 1),
layer_count => $self->layer_count,
);