[Opensim-dev] SaveChangedAttachments on RemoveClient

Bo bo at s-grid.net
Wed Feb 1 09:21:32 UTC 2012


Hello,
and my congrats Diva.

Please forgive me a noob question, but i wonder if that should be not disabled 
for HG visitors at all. 

Not sure, but don't HG visitors technically log out from remote grid while 
while they go  home?

Bo

On Wednesday 01 of February 2012 10:10:04 Melanie wrote:
> Hi,
> 
> it should happen only on logout / disconnect, not when leaving a
> sim. Good catch!
> 
> Melanie
> 
> On 01/02/2012 06:10, Diva Canto wrote:
> > Hi Justin,
> > 
> > In case I don't see you in the IRC, could you please look into what's
> > going on in AttachmentsModule.SaveChangedAttachments, specifically
> > commit 8880ae and 62b3e7 both on 2011/9/13.
> > That method is being called when avies leave the sims, and, as is, it's
> > saving the attachments independent on whether they were changed or not
> > (when they have scripts). The assetID in inventory is being changed.
> > This screws up inventory when the avie is visiting other grids, because
> > the assetID at that point exists only in the visited grid, and is not
> > being posted back.
> > 
> > I would fix it, but I don't know what the intentions of that code are...
> > It seems very odd that attachments are always being recreated when avies
> > leave sims.
> > 
> > Thanks.
> > 
> > 
> > _______________________________________________
> > Opensim-dev mailing list
> > Opensim-dev at lists.berlios.de
> > https://lists.berlios.de/mailman/listinfo/opensim-dev
> 
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev



More information about the Opensim-dev mailing list