Add Slic3r version to gcode comment

This commit is contained in:
Alessandro Ranellucci 2011-12-20 14:20:39 +01:00
parent 5e850557d4
commit 627e1b32e2

View File

@ -442,7 +442,7 @@ sub export_gcode {
# write some information # write some information
my @lt = localtime; my @lt = localtime;
printf $fh "; generated by Slic3r on %02d-%02d-%02d at %02d:%02d:%02d\n\n", printf $fh "; generated by Slic3r $Slic3r::VERSION on %02d-%02d-%02d at %02d:%02d:%02d\n\n",
$lt[5] + 1900, $lt[4], $lt[3], $lt[2], $lt[1], $lt[0]; $lt[5] + 1900, $lt[4], $lt[3], $lt[2], $lt[1], $lt[0];
print $fh "; most important settings used:\n"; print $fh "; most important settings used:\n";