aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/AvatarAppearance.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-01-05Massive tab and trailing space cleanupMelanie Thielker1-24/+24
2015-11-16Fix a merge conflictMelanie Thielker1-7/+0
2015-11-15 handle diferente number of wearables on getting assets form another appearanceUbitUmarov1-2/+10
2015-11-15 fix the protection for more Wearables than region suportsUbitUmarov1-6/+9
2015-11-02fix avatarAppearance wearables copyUbitUmarov1-3/+8
2015-11-01More EntityTransferContext plumbingMelanie Thielker1-3/+3
2015-11-01More plumbing of the EntityTransferContext (not yet complete)Melanie Thielker1-17/+33
2015-09-14Make regions tolerant to newer regions with more werables.Melanie Thielker1-2/+5
Also, bump the interface version to 8
2014-11-11Remove the Invisible stuff and add more baked caching. Refactor selection of ↵Melanie Thielker1-28/+0
textures to save to Bakes module.
2014-11-10Second part of invisible base avatar optionMelanie Thielker1-0/+28
2014-10-26 missing fileUbitUmarov1-2/+1
2014-10-24 don't send pack baked texture assets into updates.UbitUmarov1-1/+2
2014-08-14*DANGER* dont send baked textures assets to Neighbours. Possible we couldUbitUmarov1-3/+10
send a lot less
2014-08-14*DANGER* make baked textures cross and make use of it * UNTESTED *UbitUmarov1-1/+16
issue: alll this seems to be sent back to childs, need to stop that
2014-08-08 add wearables array size checks on unpackUbitUmarov1-2/+12
2014-08-07add limites checks on wearables size, revert to max 15 forUbitUmarov1-2/+10
compatibility/testing
2014-08-07update the max number of texture faces and wearables to current values.UbitUmarov1-1/+5
This should be safe now..
2014-07-21Don't append attachments multiple timesOren Hurvitz1-0/+6
2013-12-19Add missing viewer param elements for butt and breast physics.Justin Clark-Casey (justincc)1-1/+75
Patch from http://opensimulator.org/mantis/view.php?id=6864 except with tabs replaced by spaces Thanks cinderblocks!
2013-12-11Committing the Avination Scene Presence and related texture codeMelanie1-96/+217
- Parts of region crossing code - New bakes handling code - Bakes now sent from sim to sim without central storage - Appearance handling changes - Some changes to sitting - A number of unrelated fixes and improvements
2013-06-07add indexes for new visual parameters shape_hover andUbitUmarov1-1/+6
APPEARANCEMESSAGE_VERSION. For reference only, this aren't used in sim for now
2013-05-24This is an experimental patch that adds support for comparing textureMic Bowman1-32/+66
hashes for the purpose of accurately responding to AgentTextureCached packets. There is a change to IClientAPI to report the wearbles hashes that come in through the SetAppearance packet. Added storage of the texture hashes in the appearance. While these are added to the Pack/Unpack (with support for missing values) routines (which means Simian will store them properly), they are not currently persisted in Robust.
2013-03-19Prevent multiple instances of the same item ID being appended to an ↵Justin Clark-Casey (justincc)1-30/+48
AvatarAppearance It looks like this was happening when AttachmentsModule.RezAttachments was doing a secondary set of each attachment to update with the asset ID (initially they only have the inventory ID). However, with multi-attach this was appending a second copy of the same attachment rather than updating the data that was already there. This commit requires both simulator and service to be updated.
2013-03-05Multiattach, part 1Melanie1-3/+2
2013-01-14* Document the additional Visual Params of newer browsers in ↵teravus1-1/+52
AvatarAppearance.VPElement so it can be easily looked up in code/module
2012-12-29* This finishes the implementation of AgentCachedTexture. Requires the ↵teravus1-3/+11
XBakes Module and service for full functionality. Previous no-cache functionality works without the service and module. In some ways, I would have been happier not putting an AssetBase in WearableCacheItem.. but turns out it was probably unavoidable. No additional locks, yay.
2012-12-21* Partial Commit for Avatar Appearance to include the functionality of ↵teravus1-1/+7
Cached Bakes.
2012-12-07 add some default size setting and checksUbitUmarov1-2/+20
2012-12-07revert the use of avatar skeleton and use avatar size provided by viewers,UbitUmarov1-17/+30
since at least for now seems good enought
2012-12-07calculate avatar size on tpsUbitUmarov1-2/+3
2012-12-07*TEST* add some avatar skeleton information and use it to calculate avatarUbitUmarov1-0/+30
height and bounding box. Change LSL acording.
2012-11-15Revert "Merge master into teravuswork", it should have been avination, not ↵teravus1-3/+0
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-10-25Add TestOsNpcLoadAppearance()Justin Clark-Casey (justincc)1-0/+3
2012-04-26Help big boobies to dance (avatar visualParams). May not persist and need ↵UbitUmarov1-10/+24
more lobe ?
2011-12-19Migrate detailed "appearance show" report generation up to ↵Justin Clark-Casey (justincc)1-7/+14
AvatarFactoryModule from AppearanceInfoModule so that it can be used in debug (inactive). Further filters "debug packet <level>" to exclused [Request]ObjectPropertiesFamily if level is below 25. Adjust some method doc Minor changes to some logging messages.
2011-11-05Fix avatar height, removes the hip offset hacknebadon1-24/+12
Author: Mana Janus <mana@mjm-labs.com>
2011-09-23Fix avatar parameter updating for viewer 3 and maybe 2.Justin Clark-Casey (justincc)1-0/+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-12lock AvatarAppearance.m_attachments when we use itJustin Clark-Casey (justincc)1-33/+58
This is partly to address http://opensimulator.org/mantis/view.php?id=5644, though something more thorough is needed.
2011-09-06In SetAttachment, if the existing attachment has no asset id then carry on ↵Justin Clark-Casey (justincc)1-3/+33
rather than abort. When a user logs in, the attachment item ids are pulled from persistence in the Avatars table. However, the asset ids are not saved. When the avatar enters a simulator the attachments are set again. If we simply perform an item check then the asset ids (which are now present) are never set, and NPC attachments later fail unless the attachment is detached and reattached. Hopefully resolves part of http://opensimulator.org/mantis/view.php?id=5653
2011-09-06Stop the pointless double setting of every attachment in AvatarAppearance.Justin Clark-Casey (justincc)1-4/+10
The second was already being filtered out so this has no user level effect
2011-09-03Stop NPCs losing attachments when the source avatar takes them off.Justin Clark-Casey (justincc)1-2/+13
This was happening because we were using the source avatar's item IDs in the clone appearance. Switch to using the asset IDs of attachments instead for NPCs. The InventoryAccessModule and AttachmentModule had to be changed to allow rezzing of an object without an associated inventory item. Hopefully goes some way towards resolving http://opensimulator.org/mantis/view.php?id=5653
2011-08-30Fix bug where attachments were remaining on the avatar after being dropped.Justin Clark-Casey (justincc)1-2/+5
If the inventory service is configured not to allow deletion then these will not disappear from inventory
2011-08-16Add new FireAndForgetMethod.None.Justin Clark-Casey (justincc)1-2/+10
This executes the callback on the same thread that made the request. Designed for use only by regression tests that rely on a predicable event ordering.
2011-08-09Implement first draft functions for saving and loading NPC appearance from ↵Justin Clark-Casey (justincc)1-1/+1
storage. This works by serializing and deserializing NPC AvatarAppearance to a notecard in the prim inventory and making the required baked textures permanent. By using notecards, we avoid lots of awkward, technical and user-unfriendly issues concerning retaining asset references and creating a new asset type. Notecards also allow different appearances to be swapped and manipulated easily. This also allows stored NPC appearances to work transparently with OARs/IARs since the UUID scan will pick up and store the necessary references from the notecard text. This works in my basic test but is not at all ready for user use or bug reporting yet.
2011-08-02Get rid of AvatarAppearance.Owner to simplify the code.Justin Clark-Casey (justincc)1-24/+7
This is not used for anything - appearances are always properties of objects with ids (ScenePresence, AgentCircuitData) and just has the potential to get out of sync when the appearance is cloned.
2011-08-01Get osNpcCreate appearance working with avatars that are currently in the scene.Justin Clark-Casey (justincc)1-1/+5
Had to stop using AvatarService for now since it doesn't store baked texture IDs (which is why this was failing). Also failing because cloning appearance was also cloning the AvatarApperance.Owner field, which we weren't then changing. Extended TestCreate() to check this.
2011-07-21Fixed updating avatar appearanceOren Hurvitz1-1/+3
Signed-off-by: root <root@grid00001.t-data.com>
2011-01-25Removed a few more spurious appearance saves. When an avatarMic Bowman1-5/+18
enters a region the attachments module tries to update the appearance with attachments that are already part of the appearance. Just added a check to only save if the attachments weren't there before.
2010-12-06Lock the attachments dict so it doesn't get out of sync when iteratingMelanie1-35/+59
2010-12-03Various bug fixes for appearance handling: more aggressive reset of textures ↵Mic Bowman1-10/+26
and vparams when appearance is not cached and when wearables change. Send appearance to the viewer with initial data. Cleaned up (and added) debugging.