flip z anchor if needed

This commit is contained in:
Stewart Allen 2020-12-27 23:12:25 -05:00
commit 129d8742dd

View file

@ -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);