mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-10-04 01:26:29 +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);
|
my $axis_vec = Slic3r::Pointf3->new(0,0,0);
|
||||||
if($axis == Z){
|
if($axis == Z){
|
||||||
$axis_vec->set_z(1);
|
$axis_vec->set_z(-1);
|
||||||
} else {
|
} else {
|
||||||
if($axis == X){
|
if($axis == X){
|
||||||
$axis_vec->set_x(1);
|
$axis_vec->set_x(-1);
|
||||||
} else {
|
} else {
|
||||||
$axis_vec->set_y(1);
|
$axis_vec->set_y(-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user