mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 00:52:51 +00:00
Handle configuration files saved while there was no extruder_offset control for the first extruder
This commit is contained in:
@@ -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' => {
|
||||
|
||||
Reference in New Issue
Block a user