summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatarself.cpp
AgeCommit message (Collapse)Author
2010-05-11EXT-7305 : FIXED : Changed LLWearableDictionary to LLWearableTypeLoren Shih
Refactored LLWearableDictionary to look more like LLAssetType/LLFolderType/etc. in terms of code design. This required a lot of superficial changes across many files. Overall functionality has not changed.
2010-04-26Improved default animations - work in progressBrad Payne (Vir Linden)
2010-04-24DEV-39786 (SNOW-572 / SNOW-220 / VWR-14712): GL_COLOR_INDEX8_EXT not defined ↵Aimee Linden
as GL_EXT_paletted_texture is deprecated. Imported from Snowglobe.
2010-04-15merge from viewer-hotfixTofu Linden
2010-04-15EXT-6877 : Show avatar-as-cloud as "Loading..." in nametagLoren Shih
If you or others are a cloud, then your nametag will include a "(Loading...)" string. Note: this required a small bit of code refactor so that you can query if an avatar (yourself or others) is a cloud; this was basically a rename from updateIsFullyLoaded into getIsCloud.
2010-04-15merge from viewer-hotfixTofu Linden
2010-04-14Fix for LLVOAvatarSelf calling updateVisualParams every frame -- saves about ↵Dave Parks
2ms per frame. Reviewed by Nyx
2010-04-01Checker: UNINIT_CTORTofu Linden
Function: LLVOAvatarSelf::LLVOAvatarSelf(const LLUUID &, unsigned char, LLViewerRegion *) File: /indra/newview/llvoavatarself.cpp
2010-03-30EXT-3415 : INFRASTRUCTURE : Move LLInventoryCollectFunctors to separate classLoren Shih
Moved all the LLInventoryModelCOllectFunctors from LLInventoryModel to LLInventoryFunctions
2010-03-29EXT-6536 : Make LLVOAvatarSelf a singletonLoren Shih
Fix for cleaning up gAgentAvatar on app shutdown.
2010-03-29EXT-6536 : Make LLVOAvatarSelf a singletonLoren Shih
Fix for cleaning up gAgentAvatar on app shutdown.
2010-03-29MergeLoren Shih
2010-03-29EXT-6536 : Make LLVOAvatarSelf a singletonLoren Shih
Superficial cleanup to replace all instances of "gAgentAvatar" with "gAgentAvatarp".
2010-03-29EXT-6536 : Make LLVOAvatarSelf a singletonLoren Shih
Superficial cleanup to replace all instances of "LLVOAvatarSelf *avatarp = gAgent.getAvatarObject" with "gAgentAvatar".
2010-03-29For EXT-4666: changed LLAppearanceManager to LLAppearanceMgr throughoutBrad Payne (Vir Linden)
2010-03-26EXT-6536 : Make LLVOAvatarSelf a singletonLoren Shih
Superficial cleanup so that all instances of gAgent.getAvatarObject() use "LLVOAvatarSelf *avatarp = gAgent.getAvatarObject".
2010-03-26EXT-6536 : Make LLVOAvatarSelf a singletonLoren Shih
Lots of superficial cleanup, particularly around "if (" formatting. Removed LLAgent as a friend of LLAgentCamera and refactored to use accessors.
2010-03-25automated mergeLoren Shih
2010-03-23EXT-2959 : Full out camera functions from llagent to llagentcameraLoren Shih
First check-in; only compiles, nothing more.
2010-03-17Fixed normal EXT - 5985 ([TRANSLATED BUT IN EN] - Attachement points need ↵Paul Guslisty
localization) - Applied localization to the label string Reviewed by Mike Antipov in https://codereview.productengine.com/secondlife/r/53/ --HG-- branch : product-engine
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-05Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/Nyx (Neal Orman)
2010-03-05EXT-5847 failure to bake when standard wearables are generatedNyx (Neal Orman)
Standard wearables have no textures associated with them. No textures means no texture callbacks. Fixed the issue by requesting a texture upload on baked textures that we don't get a cahced baked texture response for. This clears up the repro Code reviewed by prep, vir
2010-03-03EXT-5863 Enabling Admin mode allows "Dump baked avatar textures" to work. No ↵Tofu Linden
matter what you are wearing.
2010-02-27merge.Tofu Linden
2010-02-26EXT-5820 I can copy asset UUID from non-FULLPERM assets turning on admin mode.Tofu Linden
If you're reading this message, this was reviewed by Soft, Nyx or Aura. :)
2010-02-26mergeBrad Payne (Vir Linden)
2010-02-25For EXT-5333: Bodyparts missing from appearance and COF. Fixed invisible to ↵Brad Payne (Vir Linden)
self after first login via createStandardWearables(). (Patch from Nyx)
2010-02-09EXT-4569 alpha preview not working after alpha is savedNyx (Neal Orman)
We were setting the baked texture ID to IMG_INVISIBLE when hitting the save button on the appearance editor to force the right texture IDs to be sent to surrounding viewers. Now, when you make a change after it is saved, it clears this texture ID. This restores expected functionality. Code reviewed by bigpapi. -Nyx
2010-02-23EXT-5451 - HUD attachment points offset, when extending the right UI panelRichard Linden
reviewed by Callum
2010-02-05EXT-4739 - Crash on teleport after viewer minimize. Making sure we don't ↵Eric M. Tulla (BigPapi)
accidentally set av self to null & added a few more null checks. -Reviewed by nyx
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
2009-12-16EXT-3514 update debug settings for new appearance featuresNyx (Neal Orman)
following changes: 1) remove renderavatarinvisible - no longer need this debug setting 2) add showobjectrenderingcost (default:TRUE) so we can turn this feature off if necessary 3) add showdebugappearanceeditor (default:FALSE) so we can test the future appearance editor code reviewed by vir and seraph --HG-- branch : avatar-pipeline
2009-12-08INFRASTRUCTURE: Took out unused function "getAllAttachmentsArray" from ↵Loren Shih
llvoavatarself. --HG-- branch : avatar-pipeline
2009-11-25EXT-2769 hair alpha not applied immediatelyNyx (Neal Orman)
Apparently none of the texture pickers were invalidating the baked textures causing selected textures to not appear on the avatar until you actually saved the wearable. This patch forces the composites to update when you change any texture or color (or invisibility flag). Code reviewed by Seraph --HG-- branch : avatar-pipeline
2009-11-24EXT-2818 not using IMG_INVISIBLE in baked texturesNyx (Neal Orman)
this patch allows IMG_INVISIBLE in an alpha mask to set the baked texture to also be IMG_INVISIBLE for the appropriate baked texture. Will be post-reviewed with other alpha mask fixes. --HG-- branch : avatar-pipeline
2009-11-20Automated merge with ssh://hg.lindenlab.com/tulla/avatar-pipeline-2-0/Nyx (Neal Orman)
--HG-- branch : avatar-pipeline
2009-11-20EXT-2596 EXT-2354 extra lines in put on > attach put on > wear submenusNyx (Neal Orman)
finishing the cleanup here, missed a couple of extraneous separators. Will be post-reviewed. --HG-- branch : avatar-pipeline
2009-11-18EXT-2539 confirm we're not sending local texture IDs in appearance msgNyx (Neal Orman)
created a throwaway function to temporarily set local texture IDs in the avatar object to IMG_DEFAULT_AVATAR immediately before sending the TE message, and restore the IDs when we're done. Will implement a more elegant solution for 2.1. This is the least risky implementation, though it isn't elegant. Code reviewed by Seraph
2009-11-13branch mergeBrad Payne (Vir Linden)
--HG-- branch : avatar-pipeline
2009-11-12EXT-2387 crash on dump local texturesNyx (Neal Orman)
we didn't check local_tex_obj for NULL before using it. checked to make sure pointer is not null before calling ->getImage()
2009-11-12EXT-2354 menus contain multiple lines not editable in XUINyx (Neal Orman)
We're building a pie menu in code, complete with separators for this particular branch of submenus. This is terrible and ugly and needs to be killed, but for now I removed the lines that cause the separators to be added where there are empty pie slices. Code reviewed by Vir
2009-11-12LLAppearanceManager cleanup - turning into proper singletonBrad Payne (Vir Linden)
--HG-- branch : avatar-pipeline
2009-11-11DEV-34507 too many baked texture uploadsNyx (Neal Orman)
Fixed a double-bake bug on hitting the "OK" button of the appearance editor Also cleaned up extraneous calls to requestLayersetUpload. Behavior should now be consistent with resident expectations. Code reviewed by Bigpapi
2009-11-11EXT-2173 use of visual param animation inconsistent at bestNyx (Neal Orman)
removed ambiguous parameter "set_by_user" from many places in codebase, renaming it to be upload_bake, which is a more accurate descriptor. This allowed me to see several inconsistencies in how this variable was being set - these errors were also fixed. User-visible result should be that baked textures are not reuploaded on changing avatar sex until the save button is pressed. primary win here is code clarity. Code reviewed by Bigpapi.
2009-11-09EXT-2326 Editing appearance causes too many texture callbacks stalls the viewerNyx (Neal Orman)
problem was caused by triggering updateMeshTextures() every time visual params or textures were changed on your base avatar object. The latest structure makes the parameters and textures in the wearables authoritative, causing them to be copied to the avatar on a regular basis. This resulted in way too many callbacks to be registered while waiting for baked textures to be uploaded. Fixed by removing many calls to updateMeshTextures() and ensuring that it gets called every time an appropriate param or texture actually changes, or a wearable gets added/removed. This appears to cut the number of callbacks to a reasonable level. Code reviewed by Bigpapi.
2009-11-06mergeSteve Bennetts
2009-11-06merge from texture-pipelineSteve Bennetts
2009-11-06EXT-1823 avatar shape corrupted with huge legs/feetNyx (Neal Orman)
As suspected a morph mask issue. Apparently we were setting success to false if the user specifies a pant or shrit texture without an alpha channel. Result: bad morph masks. Patch begins to clean up the isMorphMaskValid issue, as well as fixing this error. Code reviewed by Vir
2009-11-06merge QAR-1829: texture pipeline branch in viewer-2.0.0.3Xiaohong Bao