mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 23:23:59 -06:00
Moved vibration limit to its own G-code filter
This commit is contained in:
parent
7fbacc5885
commit
36e5e1f933
18 changed files with 103 additions and 71 deletions
|
@ -20,7 +20,7 @@ use Slic3r::Test;
|
|||
my $print = Slic3r::Test::init_print('2x20x10', config => $conf);
|
||||
|
||||
my $last_move_was_z_change = 0;
|
||||
Slic3r::GCode::Reader->new(gcode => Slic3r::Test::gcode($print))->parse(sub {
|
||||
Slic3r::GCode::Reader->new->parse(Slic3r::Test::gcode($print), sub {
|
||||
my ($self, $cmd, $args, $info) = @_;
|
||||
|
||||
if ($last_move_was_z_change && $cmd ne $config->layer_gcode) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue