Write Slic3r version in config files
This commit is contained in:
parent
c4b9a6cf61
commit
641c2a241b
1 changed files with 1 additions and 0 deletions
|
@ -594,6 +594,7 @@ sub save {
|
||||||
|
|
||||||
open my $fh, '>', $file;
|
open my $fh, '>', $file;
|
||||||
binmode $fh, ':utf8';
|
binmode $fh, ':utf8';
|
||||||
|
printf $fh "# generated by Slic3r $Slic3r::VERSION\n";
|
||||||
foreach my $opt (sort keys %$Options) {
|
foreach my $opt (sort keys %$Options) {
|
||||||
next if $Options->{$opt}{gui_only};
|
next if $Options->{$opt}{gui_only};
|
||||||
my $value = get_raw($opt);
|
my $value = get_raw($opt);
|
||||||
|
|
Loading…
Reference in a new issue