[sldev] [VWR] How to "commit" translations in Build mode?
Ettore Pasquini
ettore_pasquini at 3dconnexion.com
Wed Oct 10 19:31:05 PDT 2007
On 10/9/07 2:47 PM, "Dale Glass" <dale at daleglass.net> wrote:
> On Tuesday 09 October 2007 22:02:43 Ettore Pasquini wrote:
>> I added a method to LLSelectMgr to translate the selected objects by a
>> given vector in Build mode. The motion per se happens correctly, but
>> when I release the objects (i.e. unselect them) they bounce back to the
>> original location. What's more puzzling is that rotations *are*
>> "committed" correctly. I don't understand why translations would require
>> a different treatment. How to "commit" them to the new position?
>> This is my code (extracted and adapted from
>> LLSelectMgr::sendListToRegions)
> Ok, at first glance:
>
> You're packing multiple updates in one packet. If you reach the limit, or
> change simulator, you send the current packet and start a new one.
>
> Except, you don't send whatever remains buffered after the loop ends.
Thanks Dale, that was it!
E
More information about the SLDev
mailing list