summaryrefslogtreecommitdiff
path: root/RELEASE_NOTES
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-08 06:52:21 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-08 06:52:21 (GMT)
commit6659ad47b0b07b66b62ca79f3929d361733cc67a (patch)
treee4f0cbd7fa1e4b5dcb69daca43d3a7f33a1ed022 /RELEASE_NOTES
parent5ce3d4ff8df274bbbb1b5dbd272179ad5765ded1 (diff)
Updated boolean handling of if/else
Diffstat (limited to 'RELEASE_NOTES')
-rw-r--r--RELEASE_NOTES1
1 files changed, 1 insertions, 0 deletions
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 7b9a000..97af740 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -8,6 +8,7 @@ o New import() statement reads the correct file format based on the filename ext
(.stl, .dxf and .off is supported)
o The color() statement now supports an alpha parameter, e.g. color(c=[1,0,0], alpha=0.4)
o The color() statement now supports specifying colors as strings, e.g. color("Red")
+o if() and else() can now take any value type as parameter. false, 0, empty string and empty vector or illegal value type will evaluate as false, everything else as true.
Bugfixes:
o square() crashed if any of the dimensions were zero
contact: Jan Huwald // Impressum