[sldev] [VWR] How to "commit" translations in Build mode?
Dale Glass
dale at daleglass.net
Tue Oct 9 14:47:53 PDT 2007
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. If
for example you have only one update queued then it gets added to the
message system, loop ends, and message doesn't get sent.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20071009/d1c570b2/attachment.pgp
More information about the SLDev
mailing list