mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Many changes and fixes to remove leaks and return objects by reference
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user