mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-27 20:04:29 +03:00
Bugfix: objects were floating in STL export after rotation and flip. #2512
This commit is contained in:
@@ -351,8 +351,6 @@ sub set_bed_shape {
|
||||
sub load_object {
|
||||
my ($self, $object, $all_instances) = @_;
|
||||
|
||||
my $z_min = $object->raw_bounding_box->z_min;
|
||||
|
||||
# color mesh(es) by material
|
||||
my @materials = ();
|
||||
|
||||
@@ -381,7 +379,6 @@ sub load_object {
|
||||
instance_idx => $instance_idx,
|
||||
mesh => $mesh,
|
||||
color => $color,
|
||||
origin => Slic3r::Pointf3->new(0,0,-$z_min),
|
||||
);
|
||||
push @volumes_idx, $#{$self->volumes};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user