Fwiw, +1 :)<br><br>Cheers<br>James<br><br><div class="gmail_quote">On Fri, Jul 10, 2009 at 10:25 AM, Teravus Ovares <span dir="ltr"><<a href="mailto:teravus@gmail.com">teravus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
+1 on this.<br>
<br>
Regards<br>
<br>
Teravus<br>
<div><div></div><div class="h5"><br>
On Fri, Jul 10, 2009 at 10:39 AM, MW<<a href="mailto:michaelwri22@yahoo.co.uk">michaelwri22@yahoo.co.uk</a>> wrote:<br>
> In the current OnDeRezObject event, only a single localID of a prim is<br>
> passed at a time.<br>
><br>
> So if multiple objects are DeRezzed in one action, even though all the ids<br>
> are sent in a single packet. We have code in the ClientView that loops<br>
> through that list and for each id triggers the OnDeRezObject event.<br>
><br>
> I propose moving that loop into the Scene handling of the action<br>
> (Scene.DeRezObject(...)) so that the event is only triggered once per<br>
> packet and if there are multiple prims to derezz in a packet, the scene code<br>
> can loop through them and deal with them as required.<br>
><br>
> So current the delegate of the OnDeRezObject event is :<br>
><br>
> public delegate void DeRezObject(<br>
> IClientAPI remoteClient, uint localID, UUID groupID, DeRezAction<br>
> action, UUID destinationID);<br>
><br>
> I propose changing it to:<br>
><br>
> public delegate void DeRezObject(<br>
> IClientAPI remoteClient, List<uint> localIDs, UUID groupID,<br>
> DeRezAction action, UUID destinationID);<br>
><br>
> It has to be better to have only one event triggering rather than possibly<br>
> hundreds for the same user action.<br>
><br>
> My next step (which I'm currently in the middle of in my local version) is<br>
> to handle the taking of those multiple prims into inventory and only making<br>
> a single inventory item, rather than the current method of a separate<br>
> inventory item for each prim. But that will be detailed in a different<br>
> proposal.<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Opensim-dev mailing list<br>
> <a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
> <a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
><br>
><br>
_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>===================================<br><a href="http://osgrid.org">http://osgrid.org</a><br><a href="http://del.icio.us/SPQR">http://del.icio.us/SPQR</a><br><a href="http://twitter.com/jstallings2">http://twitter.com/jstallings2</a><br>
<a href="http://www.linkedin.com/pub/5/770/a49">http://www.linkedin.com/pub/5/770/a49</a><br>