Fix reorient() for CTR anchors on prismoid/trapezoid geometry.

This commit is contained in:
Revar Desmera 2023-03-26 17:35:58 -07:00
parent 7bfb3c8039
commit ee3e2466bd

View file

@ -2031,10 +2031,7 @@ function reorient(
orient = default(orient, UP), orient = default(orient, UP),
region = !is_undef(region)? region : region = !is_undef(region)? region :
!is_undef(path)? [path] : !is_undef(path)? [path] :
undef undef,
)
(anchor==CENTER && spin==0 && orient==UP && p!=undef)? p :
let(
geom = is_def(geom)? geom : geom = is_def(geom)? geom :
attach_geom( attach_geom(
size=size, size2=size2, shift=shift, size=size, size2=size2, shift=shift,