Beautify AST tree output

git-svn-id: http://svn.clifford.at/openscad/trunk@316 b57f626f-c46c-0410-a088-ec61d464b74c
stl_dim
kintel 2010-01-15 17:07:22 +00:00
parent c9b34bd918
commit 704214d7e6
1 changed files with 2 additions and 2 deletions

View File

@ -316,12 +316,12 @@ QString Value::dump() const
}
if (type == RANGE) {
QString text;
text.sprintf("[ %f : %f : %f ]", range_begin, range_step, range_end);
text.sprintf("[ %g : %g : %g ]", range_begin, range_step, range_end);
return text;
}
if (type == NUMBER) {
QString text;
text.sprintf("%f", num);
text.sprintf("%g", num);
return text;
}
if (type == BOOL) {