flip z anchor if needed
This commit is contained in:
parent
8627f54a98
commit
129d8742dd
1 changed files with 5 additions and 0 deletions
|
|
@ -364,6 +364,11 @@
|
||||||
let add2 = op2.length === 0; // add flip singleton to b-side
|
let add2 = op2.length === 0; // add flip singleton to b-side
|
||||||
let axis = poppedRec.axis;
|
let axis = poppedRec.axis;
|
||||||
flipping = true;
|
flipping = true;
|
||||||
|
process.camZAnchor = {
|
||||||
|
top: "bottom",
|
||||||
|
bottom: "top",
|
||||||
|
middle: "middle"
|
||||||
|
}[process.camZAnchor];
|
||||||
switch (axis) {
|
switch (axis) {
|
||||||
case 'X':
|
case 'X':
|
||||||
API.selection.rotate(Math.PI, 0, 0);
|
API.selection.rotate(Math.PI, 0, 0);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue