imclover07 / away3d

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

rendering error when call Mesh.dispose() this functon #182

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

public class Mesh extends Entity implements IMaterialOwner, IAsset
{
//...

override public function dispose(deep : Boolean) : void
{
    super.dispose(deep);//fixed this err if add this function

    if (deep) {
        _geometry.dispose();
        _material.dispose(true);
        }
}

//...
}

Original issue reported on code.google.com by chxlchoosemylife on 10 May 2011 at 8:39

GoogleCodeExporter commented 9 years ago
this error in away3d 4.0

Original comment by chxlchoosemylife on 10 May 2011 at 8:41