mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Fixed missing change in recent refactoring, causing plater crash. #1298
This commit is contained in:
@@ -607,7 +607,7 @@ sub horizontal_projection {
|
|||||||
|
|
||||||
my @f = ();
|
my @f = ();
|
||||||
foreach my $facet (@{$self->facets}) {
|
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);
|
my $scale_vector = Math::Clipper::integerize_coordinate_sets({ bits => 32 }, @f);
|
||||||
|
|||||||
Reference in New Issue
Block a user