mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-06-24 16:03:59 +02: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