From 3de792d3ed2702c9b24222f89497523ec83d590d Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Thu, 29 Dec 2011 15:39:00 +0100 Subject: color override diff --git a/RELEASE_NOTES b/RELEASE_NOTES index b9648d2..a954c45 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -13,6 +13,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 The color() statement now overrides colors specified further down in the tree o if()/else() and the ternary operator 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. o Strings can now be lexographically compared using the <, <=, >, >= operators o Added PI constant. -- cgit v0.10.1