Hi i have found somethig wierd in Geometry.as line 141,
there is a loop which dispose subGeometries:
public function dispose() : void
{
var numSubGeoms : uint = _subGeometries.length;
for (var i : uint = 0; i < numSubGeoms; ++i)
{
var subGeom:SubGeometry = _subGeometries[0];
removeSubGeometry(subGeom);
subGeom.dispose();
}
}
I wonder that subGeom in loop should be:
var subGeom:SubGeometry = _subGeometries[i];
or am I wrong ?
not 0 but i…