Ok,

Is there any other way to change the velocity?


2010/4/16 Václav Šmilauer <[email protected]>

>
> > O.bodies[id1].state.vel[2] = -4.0
> > print O.bodies[id1].state.vel[2]
> Oh, f**k... that comes from fixing
> https://bugs.launchpad.net/yade/+bug/539562
>
> Now you change [2] of a _copy_ of the real object (return_by_value)
> which doesn't propagate back to c++; whereas previously, you were
> chaning [2] of a reference to the real c++ object...
>
> What now? Screw this thing...
>
> v
>
>
>
> _______________________________________________
> Mailing list: 
> https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to     : [email protected]
> Unsubscribe : 
> https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help   : https://help.launchpad.net/ListHelp
>
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to