Ported Slic3r::GCode::OozePrevention storage to XS

This commit is contained in:
Alessandro Ranellucci 2015-07-01 21:01:42 +02:00
parent b43dd92766
commit 280f3f38d7
8 changed files with 42 additions and 6 deletions

View file

@ -504,13 +504,11 @@ sub set_extruder {
}
package Slic3r::GCode::OozePrevention;
use Moo;
use strict;
use warnings;
use Slic3r::Geometry qw(scale);
has 'enable' => (is => 'rw', default => sub { 0 });
has 'standby_points' => (is => 'rw');
sub pre_toolchange {
my ($self, $gcodegen) = @_;