Fixed stray _attach_geom() calls.

This commit is contained in:
Garth Minette 2022-04-11 18:44:57 -07:00
parent 1a4ac0e5d1
commit 64033ca1b2
2 changed files with 2 additions and 2 deletions

View file

@ -1584,7 +1584,7 @@ module text(text, size=10, font="Helvetica", halign, valign, spacing=1.0, direct
assert(is_undef(spin) || is_vector(spin,3) || is_num(spin), str("Got: ",spin));
anchor = default(anchor, CENTER);
spin = default(spin, 0);
geom = _attach_geom(size=[size,size],two_d=true);
geom = attach_geom(size=[size,size],two_d=true);
anch = !any([for (c=anchor) c=="["])? anchor :
let(
parts = str_split(str_split(str_split(anchor,"]")[0],"[")[1],","),

View file

@ -2442,7 +2442,7 @@ module text3d(text, h=1, size=10, font="Helvetica", halign, valign, spacing=1.0,
anchor = default(anchor, CENTER);
spin = default(spin, 0);
orient = default(orient, UP);
geom = _attach_geom(size=[size,size,h]);
geom = attach_geom(size=[size,size,h]);
anch = !any([for (c=anchor) c=="["])? anchor :
let(
parts = str_split(str_split(str_split(anchor,"]")[0],"[")[1],","),