Lay flat minor bugfix (ObjectCutDialog called a changed function using the old signature)

This commit is contained in:
Lukas Matena 2018-08-22 14:02:32 +02:00
parent 9e6234fe39
commit 0b21042606

View File

@ -137,7 +137,7 @@ sub new {
# Adjust position / orientation of the split object halves. # Adjust position / orientation of the split object halves.
if ($self->{new_model_objects}{lower}) { if ($self->{new_model_objects}{lower}) {
if ($self->{cut_options}{rotate_lower}) { if ($self->{cut_options}{rotate_lower}) {
$self->{new_model_objects}{lower}->rotate(PI, X); $self->{new_model_objects}{lower}->rotate(PI, Slic3r::Pointf3->new(1,0,0));
$self->{new_model_objects}{lower}->center_around_origin; # align to Z = 0 $self->{new_model_objects}{lower}->center_around_origin; # align to Z = 0
} }
} }