1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-17 09:04:27 +00:00

Merge branch 'stable'

This commit is contained in:
Alessandro Ranellucci
2013-12-07 21:03:57 +01:00
+2 -2
View File
@@ -216,9 +216,9 @@ sub mesh {
foreach my $instance (@instances) {
my $mesh = $object->mesh->clone;
if ($instance) {
$mesh->rotate($instance->rotation, Slic3r::Point->new(0,0));
$mesh->scale($instance->scaling_factor);
$mesh->align_to_origin;
$mesh->rotate($instance->rotation, $object->center_2D);
$mesh->scale($instance->scaling_factor);
$mesh->translate(@{$instance->offset}, 0);
}
push @meshes, $mesh;