Fix object Z alignment after cut + rotate lower part. #2724

This commit is contained in:
Alessandro Ranellucci 2015-03-09 18:37:58 +01:00
parent 6cab5668e3
commit 3fd182a8f5

View file

@ -161,6 +161,7 @@ sub perform_cut {
push @{$self->{new_model_objects}}, $lower_object; push @{$self->{new_model_objects}}, $lower_object;
if ($self->{cut_options}{rotate_lower}) { if ($self->{cut_options}{rotate_lower}) {
$lower_object->rotate(PI, X); $lower_object->rotate(PI, X);
$lower_object->center_around_origin; # align to Z = 0
} }
} }