mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Fixed stray _attach_geom() calls.
This commit is contained in:
parent
1a4ac0e5d1
commit
64033ca1b2
2 changed files with 2 additions and 2 deletions
|
@ -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));
|
assert(is_undef(spin) || is_vector(spin,3) || is_num(spin), str("Got: ",spin));
|
||||||
anchor = default(anchor, CENTER);
|
anchor = default(anchor, CENTER);
|
||||||
spin = default(spin, 0);
|
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 :
|
anch = !any([for (c=anchor) c=="["])? anchor :
|
||||||
let(
|
let(
|
||||||
parts = str_split(str_split(str_split(anchor,"]")[0],"[")[1],","),
|
parts = str_split(str_split(str_split(anchor,"]")[0],"[")[1],","),
|
||||||
|
|
|
@ -2442,7 +2442,7 @@ module text3d(text, h=1, size=10, font="Helvetica", halign, valign, spacing=1.0,
|
||||||
anchor = default(anchor, CENTER);
|
anchor = default(anchor, CENTER);
|
||||||
spin = default(spin, 0);
|
spin = default(spin, 0);
|
||||||
orient = default(orient, UP);
|
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 :
|
anch = !any([for (c=anchor) c=="["])? anchor :
|
||||||
let(
|
let(
|
||||||
parts = str_split(str_split(str_split(anchor,"]")[0],"[")[1],","),
|
parts = str_split(str_split(str_split(anchor,"]")[0],"[")[1],","),
|
||||||
|
|
Loading…
Reference in a new issue