mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
Fix reorient() for CTR anchors on prismoid/trapezoid geometry.
This commit is contained in:
parent
7bfb3c8039
commit
ee3e2466bd
1 changed files with 1 additions and 4 deletions
|
@ -2031,10 +2031,7 @@ function reorient(
|
|||
orient = default(orient, UP),
|
||||
region = !is_undef(region)? region :
|
||||
!is_undef(path)? [path] :
|
||||
undef
|
||||
)
|
||||
(anchor==CENTER && spin==0 && orient==UP && p!=undef)? p :
|
||||
let(
|
||||
undef,
|
||||
geom = is_def(geom)? geom :
|
||||
attach_geom(
|
||||
size=size, size2=size2, shift=shift,
|
||||
|
|
Loading…
Reference in a new issue