j-rewerts / min3d

Automatically exported from code.google.com/p/min3d
0 stars 0 forks source link

Parameter $sixColor4s for Box-constructor is ignored #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The constructor for Box checks if the private field _cols is null to decide 
whether it should generate colors. It is supposed to check if the parameter 
$sixColor4s is null.

if (_cols != null) // should be if ($sixColor4s != null)
{
    _cols = $sixColor4s;
}
else
{
    //generate colors
}

Original issue reported on code.google.com by nienhs on 28 Oct 2010 at 9:14

GoogleCodeExporter commented 9 years ago
thanks, that's fixed now.

Original comment by ippeldv@gmail.com on 1 Nov 2010 at 3:05