Merge branch 'stable'
This commit is contained in:
commit
a02ce3257e
@ -216,9 +216,9 @@ sub mesh {
|
|||||||
foreach my $instance (@instances) {
|
foreach my $instance (@instances) {
|
||||||
my $mesh = $object->mesh->clone;
|
my $mesh = $object->mesh->clone;
|
||||||
if ($instance) {
|
if ($instance) {
|
||||||
$mesh->rotate($instance->rotation, Slic3r::Point->new(0,0));
|
|
||||||
$mesh->scale($instance->scaling_factor);
|
|
||||||
$mesh->align_to_origin;
|
$mesh->align_to_origin;
|
||||||
|
$mesh->rotate($instance->rotation, $object->center_2D);
|
||||||
|
$mesh->scale($instance->scaling_factor);
|
||||||
$mesh->translate(@{$instance->offset}, 0);
|
$mesh->translate(@{$instance->offset}, 0);
|
||||||
}
|
}
|
||||||
push @meshes, $mesh;
|
push @meshes, $mesh;
|
||||||
|
Loading…
Reference in New Issue
Block a user