Handle configuration files saved while there was no extruder_offset control for the first extruder
This commit is contained in:
parent
d02012e4a3
commit
8289692160
2 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@ our $Options = {
|
|||
cli => 'extruder-offset=s@',
|
||||
type => 'point',
|
||||
serialize => sub { join ',', map { join 'x', @$_ } @{$_[0]} },
|
||||
deserialize => sub { [ map [ split /x/, $_ ], (ref $_[0] eq 'ARRAY') ? @{$_[0]} : (split /,/, $_[0]) ] },
|
||||
deserialize => sub { [ map [ split /x/, $_ ], (ref $_[0] eq 'ARRAY') ? @{$_[0]} : (split /,/, $_[0] || '0x0') ] },
|
||||
default => [[0,0]],
|
||||
},
|
||||
'nozzle_diameter' => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue