[sldev] [VWR] How to "commit" translations in Build mode?

Lawson English lenglish5 at cox.net
Tue Oct 9 15:36:42 PDT 2007


Dale Glass 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. 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.
>   

This ties in with the jira request for the ability to "build" particle 
effects. Is there a similar way to update particle effects before the 
building process ends?


L.


More information about the SLDev mailing list