summaryrefslogtreecommitdiff
path: root/indra/newview/llagentwearables.cpp
AgeCommit message (Collapse)Author
2010-03-19EXT-6445 After copying an item, changes to new item affect old itemNyx (Neal Orman)
Since multiple inventory items can refer to the same asset ID, we needed to revert changes to old_wearable (indexed by asset ID) after saving changes made to a wearable to a new asset ID. This prevents user confusion around unsaved changes. Code reviewed by vir.
2010-03-17EXT-6252 : "Duplicate items (not links) in inventory are both displayed in ↵Loren Shih
bold as (worn) when only one is actually worn" Simple special-case fix for this specific issue, although I added a comment to llwearablelist.h that eventually the whole LLWearableList class will need some redesign. Core issue is that you can have multiple itemIDs pointing to the same assetID and LLWearableList doesn't account for this possibility during lookup-wearable-by-assetID operations.
2010-03-15EXT-6010 Appearance reverts to an old outfit while attempting to wear new outfitNyx (Neal Orman)
Added code to suppress local composite updates while wearables are loaded. This makes sure that we don't update your appearance until all your wearables are added to gAgentWearables. Hackish for 2.0, but will be inherently better for 2.1 code reviewed by vir.
2010-03-02EXT-5547 : Autopopulation broken due to new web deploy accountsLoren Shih
EXT-5673 : Autopopulation: Created outfits copy subfolder contents as well as immediate folder contents EXT-5632 : Autopopulation is including subfolders even if those aren't outfits DEV-46683 : Post-Deployment Cleanup This is a series of changes to fix autopopulation behavior that was broken due to the new surprise web avatar deploy. That deploy surfaced a number of serious issues with the original AP code. I did not write this code and the person who did is no longer here, so I've done my best to fix those issues up. This is a fairly comprehensive set of changes, but it's necessary given the poor state of the pre-existing code and how many problems it caused the new web avatar deploy. This new version of the AP code will: (1) Look for a Library->Clothing->Initial Outfits folder and use that if it exists (2) Not create outfits out of folders that aren't complete outfits (3) No longer string match against "More Outfits" in order to ignore outfits (4) No longer recursively collect folder contents when creating an outfit (i.e. will only look at direct descendents)
2010-02-25For EXT-5333: Bodyparts missing from appearance and COF. ↵Brad Payne (Vir Linden)
createStandardWearables() now COF-based
2010-02-22Work in progress on EXT-5333: Cleanup.Brad Payne (Vir Linden)
2010-02-18Work in progress on EXT-5333: Bodyparts missing from appearance and COFBrad Payne (Vir Linden)
2010-02-17mergeBrad Payne (Vir Linden)
2010-02-17Work in progress on EXT-5333: Bodyparts missing from appearance and COFBrad Payne (Vir Linden)
2010-02-17EXT-5364 New users appear fully naked before resolving.Nyx (Neal Orman)
We were pushing off redrawing your local texture composite while waiting for a baked texture cache response from the server. If this happens when your textures come in, your avatar will de-cloud but the composite will not update, resulting in nudity. Changed the logic so we will re-generate a local composite even if we have a pending baked texture query (we still suppress uploading the composite until a response is received). Verified several times that this does fix the issue. Will update the JIRA with reliable repro. Q verified issue is worthy of a hotfix checkin Code has been reviewed by vir, bigpapi, and seraph This is necessary for new user experience. Patch should be contained enough to be low-risk. Contact Nyx if any further questions.
2010-02-12mergeBrad Payne (Vir Linden)
2010-02-12Log spam cleanupBrad Payne (Vir Linden)
2010-02-12For EXT-5259: Major regression in load time for new users from 1.23 to 2.0. ↵Brad Payne (Vir Linden)
Moved autopopulate to after avatar appearance resolves
2010-02-12CID-218Tofu Linden
Checker: REVERSE_INULL Function: LLAgentWearables::setWearableOutfit(const LLDynamicArray<LLPointer<LLInventoryItem>, (int)32> &, LLDynamicArray<LLWearable *, (int)32>&, int) File: /indra/newview/llagentwearables.cpp
2010-02-12CID-218Tofu Linden
Checker: REVERSE_INULL Function: LLAgentWearables::setWearableOutfit(const LLDynamicArray<LLPointer<LLInventoryItem>, (int)32> &, LLDynamicArray<LLWearable *, (int)32>&, int) File: /indra/newview/llagentwearables.cpp
2010-02-11EXT-5343 appearance editor "save as" does not affect Current outfitNyx (Neal Orman)
changed logic of the save as button to copy a link from the newly created inventory item to the current outfit folder. This makes your changes persist on relog. Reviewed by Vir.
2010-02-11CID-153Tofu Linden
Checker: NULL_RETURNS Function: LLAgentWearables::makeNewOutfit(const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, const LLDynamicArray<int, (int)32> &, const LLDynamicArray<int, (int)32> &, int) File: /indra/newview/llagentwearables.cpp
2010-02-10CID-97Tofu Linden
Checker: FORWARD_NULL Function: LLAgentWearables::setWearableOutfit(const LLDynamicArray<LLPointer<LLInventoryItem>, (int)32> &, LLDynamicArray<LLWearable *, (int)32>&, int) File: /indra/newview/llagentwearables.cpp
2010-02-10CID-96Tofu Linden
2010-02-08mergeBrad Payne (Vir Linden)
2010-02-05For EXT-4919: Initial gesture setup is wrong for new users. Checkpointing ↵Brad Payne (Vir Linden)
work in progress.
2010-02-04Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/Nyx (Neal Orman)
2010-02-04EXT-4841 - Expand one of the outfits in the outfits tab for new users so ↵Eric M. Tulla (BigPapi)
they can get a sense of their contents. Also moved the My Outfits autopopulation from the library out of where it was done before (as a result of initial wearables message) to be done in the idle login during the precaching state. -Reviewed by Nyx
2010-02-04Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/Nyx (Neal Orman)
2010-02-04EXT-4003 Appearance problemw earing City Chic Female - probably param relatedNyx (Neal Orman)
cross-wearable params are fun! Values were not being updated properly for parameters that cross multiple wearables. Created a few functions to ensure that these values get updated and made them called from LLAgentWearables::wearableUpdated(). Also prevented cross-wearable params from writing back to the avatar, as they are being driven by another wearable. Code reviewed by Bigpapi
2010-02-03Moss rocks! Thanks for noticeing the paste error that resulted in a double ↵Eric M. Tulla (BigPapi)
\'\!\' bool op.
2010-02-03EXT-4868: Callback was getting triggered at shutdown, leading to crash. Now ↵Eric M. Tulla (BigPapi)
test isExiting() first. -Reviewed by vir
2010-01-27CID-195Tofu Linden
Checker: RESOURCE_LEAK Function: LLAgentWearables::addLocalTextureObject(EWearableType, LLVOAvatarDefines::ETextureIndex, unsigned int) File: /indra/newview/llagentwearables.cpp
2010-01-27follow-up fix to leak fix.Tofu Linden
2010-01-27CID 201Tofu Linden
Checker: RESOURCE_LEAK Function: LLInitialWearablesFetch::processWearablesMessage() File: /indra/newview/llagentwearables.cpp
2010-01-15EXT-4253 "unsaved" detection seems buggyNyx (Neal Orman)
Corrected bug where saving an outfit wouldn't update the "unsaved" marker on the UI. Also switched the UI to use a popup dialog to request the name of the outfit being made, as we could not convey everything we needed to on the button alone. Code reviewed by Vir
2010-01-08EXT-4038: Typo fix & proper handling of autopopulation if library clothing ↵Eric M. Tulla (BigPapi)
already imported -Reviewed by vir
2010-01-08Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/Eric M. Tulla (BigPapi)
2010-01-08EXT-4038: Autopopulating My Outfits now happens correctly (creates links ↵Eric M. Tulla (BigPapi)
instead of folder copies). -Reviewed by Seraph
2010-01-08EXT-3958 title needs to update appropriately when changes made to outfitNyx (Neal Orman)
We now show a string "(unsaved)" under the appearance panel outfit title when the currently loaded outfit has been modified from its original state. Tested with following conditions: 1) item added to loaded outfit 2) item removed from loaded outfit 3) item replaced in loaded outfit Appears to work properly on login as well. Checking is a manual folder compare, but should be fairly efficient. XUI changes submitted by Erica Entire diff reviewed by Vir
2010-01-06EXT-3962: added "MyOutfitsAutofill" debug setting to force auto population.Eric M. Tulla (BigPapi)
2010-01-05mergeBrad Payne (Vir Linden)
2010-01-05For EXT-3923: added additional warnings to catch corrupted wearables in ↵Brad Payne (Vir Linden)
inventory
2010-01-05EXT-3948 outfit title does not update on outfit creationNyx (Neal Orman)
now on creating a new outfit we remove the old base folder link and replace it with a link to the newly created outfit folder. Responsive UI FTW! Code reviewed by Vir
2010-01-04EXT-3827 : Some accounts have no library outfitsLoren Shih
EXT-3616 : My Outfits folders don't always auto-populate on first login EXT-3796 : Sidepanel not picking up changes to "My Outfits" from autopopulation EXT-3915 : Memory leak in autopopulation code Largely rewrote the autopopulation code because it was buggy, was causing llwarns messages, and had a memory leak. My approach to this should fix everything.
2009-12-31EXT-3616: Fix for my outfits autopopulation. Readding the fetch observer.Eric M. Tulla (BigPapi)
-Review by seraph
2009-12-21Minor comment change.Loren Shih
2009-12-21EXT-3582 : My Outfits populates from library if I delete my last outfitLoren Shih
Autopopulation logic is now smarter and only triggers if this is the first time you're logging into viewer2.0.
2009-12-21EXT-3582 : My Outfits populates from library if I delete my last outfitLoren Shih
Tracking a "Is this my first time in viewer2.0?" flag and only populating My Outfits folder if it's true.
2009-12-18EXT-3582 : My Outfits populates from library if I delete my last outfitLoren Shih
Now checking if this is the first time a user has logged into viewer2.0, via checking against COF existence. This doesn't quite work yet because something before LLAgentWearables is also looking up COF.
2009-12-11implemented EXT-2323 “Get rid from obsolete notification widgets”;Alexei Arabadji
--HG-- branch : product-engine
2009-12-02Automated merge avp->avpLoren Shih
--HG-- branch : avatar-pipeline
2009-12-01EXT-3028 : "Find Original" does nothing if floater inventory isn't openLoren Shih
Changed logic for getActiveInventory so that it considers InventorySP. Removed getActiveInventory and replaced with getActiveInventoryPanel since that follows its current usage. This currently contains a bug because the InventorySP always thinks it's open. --HG-- branch : avatar-pipeline
2009-12-01EXT-2749 Appearance editor still uses the name for items that have been renamed.Nyx (Neal Orman)
The name stored in an LLWearable object is not always in sync with the LLInventoryItem name. Since we reference these by asset id, which does not change when you rename something (only the LLInventoryItem changes). Fixed by refreshing the name from the LLInventoryItem every time we wear the object. If we are already wearing the object, the wearable's name is already explicitly updated. Code reviewed by Bigpapi --HG-- branch : avatar-pipeline
2009-12-01automated merge for viewer-2.0 -> avp.Loren Shih
--HG-- branch : avatar-pipeline