Compare commits

..

3 commits

Author SHA1 Message Date
Alex Matulich
ce1a0b1121
Merge 136e6367e6 into fc09ec26bb 2025-01-04 17:38:47 -08:00
adrianVmariano
fc09ec26bb
Merge pull request #1536 from KevKeating/iss1535
now setting $orig and $idx in both branches of mirror_copy() module
2025-01-04 19:06:37 -05:00
Kevin Keating
bd058d90cc now setting $orig and $idx in both branches of mirror_copy() module 2025-01-04 17:56:58 -05:00

View file

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