mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-05 20:16:05 +08:00
fix orientation
This commit is contained in:
parent
fbea2fd1a2
commit
c000e939b4
@ -1637,12 +1637,12 @@ sub rotate_face {
|
||||
|
||||
my $axis_vec = Slic3r::Pointf3->new(0,0,0);
|
||||
if($axis == Z){
|
||||
$axis_vec->set_z(1);
|
||||
$axis_vec->set_z(-1);
|
||||
} else {
|
||||
if($axis == X){
|
||||
$axis_vec->set_x(1);
|
||||
$axis_vec->set_x(-1);
|
||||
} else {
|
||||
$axis_vec->set_y(1);
|
||||
$axis_vec->set_y(-1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user