[Opensim-dev] SaveChangedAttachments on RemoveClient

Melanie melanie at t-data.com
Wed Feb 1 09:10:04 UTC 2012


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
> 
> 



More information about the Opensim-dev mailing list