mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Allow specifying --first-layer-height without leading zero. #518
This commit is contained in:
@@ -686,7 +686,7 @@ sub validate {
|
||||
|
||||
# --first-layer-height
|
||||
die "Invalid value for --first-layer-height\n"
|
||||
if $Slic3r::first_layer_height !~ /^(?:\d+(?:\.\d+)?)%?$/;
|
||||
if $Slic3r::first_layer_height !~ /^(?:\d*(?:\.\d+)?)%?$/;
|
||||
$Slic3r::_first_layer_height = Slic3r::Config->get('first_layer_height');
|
||||
|
||||
# --filament-diameter
|
||||
|
||||
Reference in New Issue
Block a user