Since updating from the latest trunk an application I am currently
working on is throwing errors
all over the place. The error is only occurring when I set the view'
camera outside of the view constructor.
Let me provide an example just so this is clear.
// This works with out trouble
var _camera:Camera3D = new Camera3D();
var _view:View3D = new View3D({camera: _camera});
// However this thrown an error
var _camera:Camera3D = new Camera3D();
var _view:View3D = new View3D();
_view.camera = _camera;
I am not sure whether this is a bug in the View3D class or the Camer3D
class. When debugging in Flex,
and immediately after setting the view's camera property I am
redirected to the Camera3D class at this line:
211: _drawPrimitiveStore = val.drawPrimitiveStore;
The error being thrown is a null reference... and when watching the
"val" property it IS null. Any advice on the
matter or a potential fix would be greatly appreciated.