The ColorMaterial will use a random color if you pass in 0 as the color.
Change:
_color = Cast.color(color || "random");
to:
_color = color==null ? Cast.color("random") : color;
Original issue reported on code.google.com by mirsw...@gmail.com on 26 Mar 2010 at 10:00
Original issue reported on code.google.com by
mirsw...@gmail.com
on 26 Mar 2010 at 10:00