#1158 Make text 3D

master
Marius Kintel 2015-03-05 10:25:22 -05:00
parent 8a8926db3d
commit 4b9c56bcc5
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,8 @@ color("green")
module align_in_grid_and_add_text()
{
if ($children == 0) {
text("Nothing...", 6, halign = "center");
linear_extrude(height = 1, center = true)
text("Nothing...", 6, halign = "center");
} else {
t = $children == 1 ? "one object" : str($children, " objects ");
linear_extrude(height = 1, center = true)