mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Fixed regression causing rotation from plater to also translate the resulting G-code. #1191
This commit is contained in:
parent
c62b49d1af
commit
49531f6f78
4 changed files with 5 additions and 6 deletions
|
@ -718,7 +718,7 @@ sub make_model {
|
|||
}
|
||||
$new_model_object->scale($plater_object->scale);
|
||||
$new_model_object->add_instance(
|
||||
rotation => $plater_object->rotate,
|
||||
rotation => $plater_object->rotate, # around center point
|
||||
offset => [ @$_ ],
|
||||
) for @{$plater_object->instances};
|
||||
$new_model_object->align_to_origin;
|
||||
|
@ -1128,7 +1128,6 @@ sub instances_count {
|
|||
sub make_thumbnail {
|
||||
my $self = shift;
|
||||
|
||||
my @points = map [ @$_[X,Y] ], @{$self->model_object->mesh->vertices};
|
||||
my $mesh = $self->model_object->mesh;
|
||||
my $thumbnail = Slic3r::ExPolygon::Collection->new(
|
||||
expolygons => (@{$mesh->facets} <= 5000)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue