now setting $orig and $idx in both branches of mirror_copy() module

This commit is contained in:
Kevin Keating 2025-01-04 17:56:58 -05:00
parent 32ffac188b
commit bd058d90cc

View file

@ -1823,8 +1823,16 @@ module mirror_copy(v=[0,0,1], offset=0, cp)
children(); children();
} }
} else { } else {
translate(off) children(); translate(off) {
translate(cp) mirror(nv) translate(-cp) translate(off) children(); $orig = true;
$idx = 0;
children();
}
translate(cp) mirror(nv) translate(-cp) translate(off) {
$orig = false;
$idx = 1;
children();
}
} }
} }