away3d / away3d-core-broomstick

Away3D engine for Flash Player Incubator
http://www.away3d.com
93 stars 25 forks source link

SubGeometry and trident issue #72

Open JohnBrookes opened 13 years ago

JohnBrookes commented 13 years ago

Basic scene no lights/materials

var tri:Trident = new Trident(750, true); scene.addChild(tri);

[Fault] exception, information=TypeError: Error #1009: Cannot access a property or method of a null object reference. Fault, dispose() at SubGeometry.as:325

JohnBrookes commented 13 years ago

And while your in the subGeom class. TypeError: Error #1009: Cannot access a property or method of a null object reference. at away3d.core.base::SubGeometry/clone()[C:\Documents and Settings\appi\My Documents\Flash\Git\Away4src\away3d-core-broomstick\src\away3d\core\base\SubGeometry.as:281]

Line 281 clone.updateSecondaryUVData(_secondaryUvs.concat()); needs a check if there is _secondaryUvs