Merge pull request #1536 from KevKeating/iss1535

now setting $orig and $idx in both branches of mirror_copy() module
This commit is contained in:
adrianVmariano 2025-01-04 19:06:37 -05:00 committed by GitHub
commit fc09ec26bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();
}
} }
} }