murarinayak / papervision3d

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

TraingleMesh3D.clone() throws error #146

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

TraingleMesh3D.clone() throws error

error is in GeometryObject3D.clone()

seems to be this statement....

for each(var material:MaterialObject3D in materials)
    material.registerObject(parent);

this seems to fix it...

for each(var material:MaterialObject3D in materials)
    if (material) material.registerObject(parent);

material.registerObject() does not seem to be critical anyway, just for
debugging?

Original issue reported on code.google.com by qwo...@gmail.com on 6 Dec 2008 at 1:05

GoogleCodeExporter commented 8 years ago

Original comment by tim.k...@gmail.com on 29 Dec 2008 at 5:57