mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-11 16:19:01 +08:00
Fixed Perl unit tests after 34c4b74af49c12e89fc6b5cc2bcfa36c69797578.
This commit is contained in:
parent
670ec06b97
commit
e3ac2a9e45
@ -34,9 +34,9 @@ sub buffer {
|
||||
$gcodegen->apply_print_config($print_config);
|
||||
$gcodegen->set_layer_count(10);
|
||||
|
||||
my @extruders = shift;
|
||||
@extruders = [ 0 ] if int(@extruders) == 0;
|
||||
$gcodegen->set_extruders(\@extruders);
|
||||
my $extruders_ref = shift;
|
||||
$extruders_ref = [ 0 ] if !defined $extruders_ref;
|
||||
$gcodegen->set_extruders($extruders_ref);
|
||||
return Slic3r::GCode::CoolingBuffer->new($gcodegen);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user