mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 15:35:54 +08:00
Fixed missing change in recent refactoring, causing plater crash. #1298
This commit is contained in:
parent
2ecc31c0aa
commit
9dbf21235c
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user