summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
AgeCommit message (Collapse)Author
2011-03-03SH-1085 Fix for crash when unchecking "mirror." Basically got LLFace to be ↵Dave Parks
paranoid about who gets to touch its LLVertexBuffer members. Reviewed by Nyx.
2011-02-23suppressing particles in overly complex avatars when clouding - they should ↵Nyx (Neal Orman)
appear as white spheres.
2011-02-23MergeXiaohong Bao
2011-02-22first pass at clouding avatars that are too complexNyx (Neal Orman)
2011-02-22mergeNyx (Neal Orman)
2011-02-19Automated merge with file:///Users/oz/Work/V-DOz Linden
2011-02-19Merge of ssh://hg.lindenlab.com/nat/viewer-eventapi2/Don Kjer
2011-02-18Cleanup of headless client (was: DisableRendering mode)Don Kjer
* Now called 'HeadlessClient' instead of 'DisableRendering' * Removed most cases where we skipped certain behaviors in the client when in this mode. This gets us closer to a 'true' client, for testing purposes.
2011-02-18Code cleanup and removed hacky code support for some old legacy rig typesprep linden
2011-02-17mergeNyx (Neal Orman)
2011-02-17Another part of the pelvis fix. Sh-634prep
2011-02-16Fix for problem with pelvis offsetprep
2011-02-16mergeNyx (Neal Orman)
2011-02-16Fix for SH-816prep
2011-02-11SH-912 Fix for avatar impostors glitching out at weird angles.Dave Parks
2011-02-11re-applying render cost changes for experimentationsNyx (Neal Orman)
2011-02-10Automated merge up from viewer-development into mesh-developmentLoren Shih
2011-02-07SH-930 FIX revert ARC algorithm for merge to viewer-developmentNyx (Neal Orman)
Reverting incomplete changes to ARC so that we don't change RC when we merge down.
2011-02-05Introduces a LLThreadLocalData class that can beAleric Inglewood
accessed through the static LLThread::tldata(). Currently this object contains two (public) thread-local objects: a LLAPRRootPool and a LLVolatileAPRPool. The first is the general memory pool used by this thread (and this thread alone), while the second is intended for short lived memory allocations (needed for APR). The advantages of not mixing those two is that the latter is used most frequently, and as a result of it's nature can be destroyed and reconstructed on a "regular" basis. This patch adds LLAPRPool (completely replacing the old one), which is a wrapper around apr_pool_t* and has complete thread-safity checking. Whenever an apr call requires memory for some resource, a memory pool in the form of an LLAPRPool object can be created with the same life-time as this resource; assuring clean up of the memory no sooner, but also not much later than the life-time of the resource that needs the memory. Many, many function calls and constructors had the pool parameter simply removed (it is no longer the concern of the developer, if you don't write code that actually does an libapr call then you are no longer bothered with memory pools at all). However, I kept the notion of short-lived and long-lived allocations alive (see my remark in the jira here: https://jira.secondlife.com/browse/STORM-864?focusedCommentId=235356&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-235356 which requires that the LLAPRFile API needs to allow the user to specify how long they think a file will stay open. By choosing 'short_lived' as default for the constructor that immediately opens a file, the number of instances where this needs to be specified is drastically reduced however (obviously, any automatic LLAPRFile is short lived). *** Addressed Boroondas remarks in https://codereview.secondlife.com/r/99/ regarding (doxygen) comments. This patch effectively only changes comments. Includes some 'merge' stuff that ended up in llvocache.cpp (while starting as a bug fix, now only resulting in a cleanup). *** Added comment 'The use of apr_pool_t is OK here'. Added this comment on every line where apr_pool_t is correctly being used. This should make it easier to spot (future) errors where someone started to use apr_pool_t; you can just grep all sources for 'apr_pool_t' and immediately see where it's being used while LLAPRPool should have been used. Note that merging this patch is very easy: If there are no other uses of apr_pool_t in the code (one grep) and it compiles, then it will work. *** Second Merge (needed to remove 'delete mCreationMutex' from LLImageDecodeThread::~LLImageDecodeThread). *** Added back #include <apr_pools.h>. Apparently that is needed on libapr version 1.2.8., the version used by Linden Lab, for calls to apr_queue_*. This is a bug in libapr (we also include <apr_queue.h>, that is fixed in (at least) 1.3.7. Note that 1.2.8 is VERY old. Even 1.3.x is old. *** License fixes (GPL -> LGPL). And typo in comments. Addresses merov's comments on the review board. *** Added Merov's compile fixes for windows.
2011-01-28SH-808 making sure the 10m vs. 64m scale limit switch happens for both the ↵leyla_linden
spinner and the manipulation tools etc.
2011-01-27Renamed functionprep linden
2011-01-27Renamed functionprep linden
2011-01-27Optimization so that updateRiggedAttachments is not called every frame - ↵prep linden
still a WIP.
2011-01-27Rebuild attached rigs during attachObjectprep linden
2011-01-14mergeprep linden
2011-01-14voice dot is positioned consistentlyprep linden
2011-01-13merge up to latest viewer-developmentOz Linden
2011-01-13Automated merge up from viewer-developmentLoren Shih
2011-01-12Fix for Sh-780 and tweak for nametag height (Sh-638).prep linden
2011-01-10Fix for SH-638prep
2011-01-05Fix for SH-579prep
2010-12-30STORM-955: VWR-24312: Massively duplicated objectsAleric Inglewood
Turns out that most of my SNOW-800 patch was included in Viewer 2 (albeit without crediting me). However, not everything was used and some more cleaning up was possible. After this patch, and when compiling with optimization, there are no duplicates left anymore that shouldn't be there in the first place. Apart from the debug stream iostream guard variable, there are several static variables with the same name (r, r1, r2, etc) but that indeed actually different symbol objects. Then there are a few constant POD arrays that are duplicated a hand full of times because they are accessed with a variable index (so optimizing them away is not possible). I left them like that (although defining those as extern as well would have been more consistent and not slower; in fact it would be faster theoretically because those arrays could share the same cache page then).
2010-12-22removing some very old debug spamAndrew Meadows
2010-12-15correct merge error in llvoavatarOz Linden
2010-12-14Automated merge with file:///Users/oz/Work/viewer-developmentOz Linden
2010-12-13Automated merge up from viewer-developmentLoren Shih
2010-12-08merge with viewer-devRichard Linden
2010-12-07Automated merge up from viewer-developmentLoren Shih
2010-12-07Bug fix. Joint ids were not being reset. The issue was noticeable when you ↵prep linden
attached and then reattached a rigged mesh with offsets. The reattached mesh would not be offset correctly.
2010-12-06Fix for SH-542prep
2010-12-04merge up to viewer-developmentOz Linden
2010-12-03Fix for SH-479prep linden
2010-12-01Automated merge up from viewer-developmentLoren Shih
2010-11-30STORM-584 FIXED Chat font colors for "Me" and "Others" used for the bubble ↵Seth ProductEngine
chat text. Bubble chat color picker now sets the background color for the name tag and bubble chat. Label for the color picker changed to "Bubble chat background" Removed unused "BackgroundChatColor" setting, using "NameTagBackground" instead.
2010-11-21Remove dependency on ll_align_malloc/free from avatar.Dave Parks
2010-11-15mergeRichard Linden
2010-11-12Merge latest from lindenlab/viewer-developmentDave SIMmONs
2010-11-10cleanupprep
2010-11-10Bug fix for an avatar that would exhibit floating if pelvis was offsetprep
Bug fix for attach/detach so that it will recalculate certain avatar settings based upon bone positions.
2010-11-05Merge latest from lindenlab/viewer-developmentDave SIMmONs