mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-08 06:24:01 -06:00
Many changes and fixes to remove leaks and return objects by reference
This commit is contained in:
parent
275422fac7
commit
a49dc603cc
27 changed files with 67 additions and 46 deletions
|
@ -15,7 +15,7 @@ sub buffer {
|
|||
my $config = shift || Slic3r::Config->new_from_defaults;
|
||||
my $buffer = Slic3r::GCode::CoolingBuffer->new(
|
||||
config => $config,
|
||||
gcodegen => Slic3r::GCode->new(config => $config, layer_count => 10),
|
||||
gcodegen => Slic3r::GCode->new(config => $config, layer_count => 10, extruders => []),
|
||||
);
|
||||
return $buffer;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue