Update support material code to use shared memory

This commit is contained in:
Alessandro Ranellucci 2013-09-17 23:14:49 +02:00
parent c421feb633
commit 6adce9f66b
3 changed files with 36 additions and 57 deletions

View file

@ -69,9 +69,9 @@ use Moo;
extends 'Slic3r::Layer';
# ordered collection of extrusion paths to fill surfaces for support material
has 'support_islands' => (is => 'rw', default => sub { [] });
has 'support_fills' => (is => 'rw');
has 'support_interface_fills' => (is => 'rw');
has 'support_islands' => (is => 'rw', default => sub { Slic3r::ExPolygon::Collection->new });
has 'support_fills' => (is => 'rw', default => sub { Slic3r::ExtrusionPath::Collection->new });
has 'support_interface_fills' => (is => 'rw', default => sub { Slic3r::ExtrusionPath::Collection->new });
sub islands {
my $self = shift;