Fixed missing change in recent refactoring, causing plater crash. #1298

This commit is contained in:
Alessandro Ranellucci 2013-07-06 11:50:41 +02:00
parent 2ecc31c0aa
commit 9dbf21235c

View file

@ -607,7 +607,7 @@ sub horizontal_projection {
my @f = ();
foreach my $facet (@{$self->facets}) {
push @f, Slic3r::Polygon->new([ map [ @{$self->vertices->[$_]}[X,Y] ], @$facet ]);
push @f, Slic3r::Polygon->new(map [ @{$self->vertices->[$_]}[X,Y] ], @$facet);
}
my $scale_vector = Math::Clipper::integerize_coordinate_sets({ bits => 32 }, @f);