From b7b89ff7f2ec992180c01a92f0d10468d487c549 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 9 Mar 2013 20:21:05 +0100 Subject: [PATCH] Bugfix: *-acceleration options didn't work in CLI --- lib/Slic3r/Config.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Slic3r/Config.pm b/lib/Slic3r/Config.pm index 811ad7c58..7775d4e64 100644 --- a/lib/Slic3r/Config.pm +++ b/lib/Slic3r/Config.pm @@ -323,7 +323,7 @@ our $Options = { label => 'Default', tooltip => 'This is the acceleration your printer will be reset to after the role-specific acceleration values are used (perimeter/infill). Set zero to prevent resetting acceleration at all.', sidetext => 'mm/s²', - cli => 'default-acceleration', + cli => 'default-acceleration=f', type => 'f', default => 0, }, @@ -331,7 +331,7 @@ our $Options = { label => 'Perimeters', tooltip => 'This is the acceleration your printer will use for perimeters. A high value like 9000 usually gives good results if your hardware is up to the job. Set zero to disable acceleration control for perimeters.', sidetext => 'mm/s²', - cli => 'perimeter-acceleration', + cli => 'perimeter-acceleration=f', type => 'f', default => 0, }, @@ -339,7 +339,7 @@ our $Options = { label => 'Infill', tooltip => 'This is the acceleration your printer will use for infill. Set zero to disable acceleration control for infill.', sidetext => 'mm/s²', - cli => 'infill-acceleration', + cli => 'infill-acceleration=f', type => 'f', default => 0, },