weimingtom / away3d

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

[Broomstick] LatheExtrude typo (extra semicolon) #165

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you compile SVN revision 3102, you'll notice a compiler warning in 
LatheExtrude.as.  The setter for materials looks like this:

    public function set materials(val:MultipleMaterials):void
        {
            _materials = val;

        if(_materials.front && this.material != _materials.front);
            this.material = _materials.front;

        invalidateGeometry();
        }

The semicolon on the "if" line is incorrect.

Original issue reported on code.google.com by david.gr...@rockyou.com on 1 Apr 2011 at 5:42

GoogleCodeExporter commented 9 years ago

Original comment by fabric...@gmail.com on 3 Apr 2011 at 7:12