latest trunk (revision 1053) breaks cube functionality

1 view
Skip to first unread message

anton...@gmail.com

unread,
Feb 6, 2009, 8:30:46 PM2/6/09
to away3d.dev
Recent changes to the trunk have broken some cube functionality, for
instance I cannot change cube.width without having an error, here is
the code sample:

import away3d.containers.*;
import away3d.core.base.*;
import away3d.primitives.*;
import away3d.core.math.*;


var view:View3D = new View3D({x:300, y:200});

addChild(view);

var cube:Cube = new Cube({material:"blue#", name:"cube", x: 300, y:
160, z: -80, width:200, height:200, depth:200});

view.scene.addChild(cube);

view.camera.position = new Number3D(1000, 1000, 1000);
view.camera.lookAt(cube.position);
cube.width=1000; //HERE GOES THE ERROR

view.render();

FlawedKid

unread,
Feb 7, 2009, 8:21:00 AM2/7/09
to away3d.dev
Hi

This may not be the best solution, but I also experienced a similar
problem when using the files from the trunk (Although after checking
my original post the problem was quickly fixed by one of the dev
guys).

http://groups.google.com.au/group/away3d-dev/browse_thread/thread/171560d3d82545d/e622b74b93234eed?hl=en#e622b74b93234eed

You may have better luck using the 3.0.00 branch? Or you could submit
a ticket and wait for the issue to be resolved.

On Feb 7, 12:30 pm, "antonkul...@gmail.com" <antonkul...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages