OpenSimMirror/OpenSim/Services/InventoryService
Justin Clark-Casey (justincc) c8304b7f84 Fix avatar parameter updating for viewer 3 and maybe 2.
When a slider parameter is changed, the viewer uploads a new shape (or other asset) and the item is updated to point to it.
Viewer 1 uploaded the data in the initial request itself, so the asset references was almost always correctly updated.
However, viewer 3/2 always uploads data in a subsequent xfer, which exposed a race condition where the viewer would make the item update before the asset had uploaded.
This commit shuffles the order of operations to avoid this race, the item is updated with the new asset id instead of the old one while the upload was still taking place.
A second race had to be fixed where avatar appearance would also be updated with the old asset id rather than the new one.
This was fixed by updating the avatar appearance ids when the appearance was actually saved, rather than when the wearables update was made.
2011-09-23 02:59:33 +01:00
..
InventoryService.cs Fix give inventory tests to use different users rather than (accidentally) the same user. Extend TestGiveInventoryItem() to test giving back the same item. 2011-06-04 02:39:26 +01:00
InventoryServiceBase.cs Changed the inventory service so that is uses exactly one DB plugin, not many. The composition of plugins can be done at the service and connector levels. 2009-06-11 13:46:44 +00:00
LibraryService.cs For default everyone permissions on library items, make notecards and scripts non-modifiable (but still copyable, etc). 2011-07-23 02:18:23 +01:00
XInventoryService.cs Fix avatar parameter updating for viewer 3 and maybe 2. 2011-09-23 02:59:33 +01:00