mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-25 13:36:31 +01:00
Bugfix: objects were floating in STL export after rotation and flip. #2512
This commit is contained in:
1 parent
9f4f711017
commit
64c9e3af4b
5 files changed
+13
-4
No files matched your search
@@ -272,6 +272,7 @@ sub rotate {
|
||||
} elsif ($axis == Z) {
|
||||
$_->mesh->rotate_z($angle) for @{$self->volumes};
|
||||
}
|
||||
$self->set_origin_translation(Slic3r::Pointf3->new(0,0,0));
|
||||
$self->invalidate_bounding_box;
|
||||
}
|
||||
|
||||
@@ -285,6 +286,7 @@ sub flip {
|
||||
} elsif ($axis == Z) {
|
||||
$_->mesh->flip_z for @{$self->volumes};
|
||||
}
|
||||
$self->set_origin_translation(Slic3r::Pointf3->new(0,0,0));
|
||||
$self->invalidate_bounding_box;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user