mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-15 00:49:40 +00:00
now setting $orig and $idx in both branches of mirror_copy() module
This commit is contained in:
parent
32ffac188b
commit
bd058d90cc
1 changed files with 10 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue