Commit Graph

82 Commits (5fa00a67af6364554c05eb3ca0339770fa6da455)

Author SHA1 Message Date
Aimee Linden 5fa00a67af DEV-39786 (SNOW-572 / SNOW-220 / VWR-14712): GL_COLOR_INDEX8_EXT not defined as GL_EXT_paletted_texture is deprecated.
Imported from Snowglobe.
2010-04-24 20:36:42 +01:00
Tofu Linden 12dadac44e merge from viewer-hotfix 2010-04-15 20:35:52 +01:00
Loren Shih 384c954fb7 EXT-6877 : Show avatar-as-cloud as "Loading..." in nametag
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-15 15:00:13 -04:00
Tofu Linden 10905a7ed1 merge from viewer-hotfix 2010-04-15 10:22:42 +01:00
Dave Parks 6c00473593 Fix for LLVOAvatarSelf calling updateVisualParams every frame -- saves about 2ms per frame.
Reviewed by Nyx
2010-04-14 17:35:06 -05:00
Tofu Linden 03322a8e87 Checker: UNINIT_CTOR
Function: LLVOAvatarSelf::LLVOAvatarSelf(const LLUUID &, unsigned char, LLViewerRegion *)
File: /indra/newview/llvoavatarself.cpp
2010-04-01 17:29:08 +01:00
Loren Shih 909091cc0c EXT-3415 : INFRASTRUCTURE : Move LLInventoryCollectFunctors to separate class
Moved all the LLInventoryModelCOllectFunctors from LLInventoryModel to LLInventoryFunctions
2010-03-30 15:56:15 -04:00
Loren Shih b4cb21e9b3 EXT-6536 : Make LLVOAvatarSelf a singleton
Fix for cleaning up gAgentAvatar on app shutdown.
2010-03-29 13:55:43 -04:00
Loren Shih 0ffc73855b EXT-6536 : Make LLVOAvatarSelf a singleton
Fix for cleaning up gAgentAvatar on app shutdown.
2010-03-29 13:50:37 -04:00
Loren Shih b6e7850c0a Merge 2010-03-29 12:30:09 -04:00
Loren Shih 58d76a9ecf EXT-6536 : Make LLVOAvatarSelf a singleton
Superficial cleanup to replace all instances of "gAgentAvatar" with "gAgentAvatarp".
2010-03-29 12:11:51 -04:00
Loren Shih 94e6e10739 EXT-6536 : Make LLVOAvatarSelf a singleton
Superficial cleanup to replace all instances of "LLVOAvatarSelf *avatarp = gAgent.getAvatarObject" with "gAgentAvatar".
2010-03-29 12:00:26 -04:00
Brad Payne (Vir Linden) 4ff53b9066 For EXT-4666: changed LLAppearanceManager to LLAppearanceMgr throughout 2010-03-29 11:02:39 -04:00
Loren Shih 46fe5d49ca EXT-6536 : Make LLVOAvatarSelf a singleton
Superficial cleanup so that all instances of gAgent.getAvatarObject() use "LLVOAvatarSelf *avatarp = gAgent.getAvatarObject".
2010-03-26 14:33:48 -04:00
Loren Shih 0bcfbde3a4 EXT-6536 : Make LLVOAvatarSelf a singleton
Lots of superficial cleanup, particularly around "if (" formatting.
Removed LLAgent as a friend of LLAgentCamera and refactored to use accessors.
2010-03-26 13:58:19 -04:00
Loren Shih 0a56031bd3 automated merge 2010-03-25 20:15:51 -04:00
Loren Shih fc49539b36 EXT-2959 : Full out camera functions from llagent to llagentcamera
First check-in; only compiles, nothing more.
2010-03-23 15:59:52 -04:00
Paul Guslisty 03f58118ce Fixed normal EXT - 5985 ([TRANSLATED BUT IN EN] - Attachement points need 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-17 18:39:27 +02:00
Nyx (Neal Orman) 8112ba5baf EXT-6010 Appearance reverts to an old outfit while attempting to wear new outfit
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-15 12:08:57 -04:00
Nyx (Neal Orman) a4937c0124 Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/ 2010-03-05 10:28:39 -05:00
Nyx (Neal Orman) 40230fa605 EXT-5847 failure to bake when standard wearables are generated
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-05 10:25:30 -05:00
Tofu Linden f53f121eb0 EXT-5863 Enabling Admin mode allows "Dump baked avatar textures" to work. No matter what you are wearing. 2010-03-03 15:04:59 +00:00
Tofu Linden 2bc346672c merge. 2010-02-27 11:42:52 +00:00
Tofu Linden 213ff5a4e0 EXT-5820 I can copy asset UUID from non-FULLPERM assets turning on admin mode.
If you're reading this message, this was reviewed by Soft, Nyx or Aura. :)
2010-02-26 19:23:42 +00:00
Brad Payne (Vir Linden) 3b52ab6cf1 merge 2010-02-26 13:13:26 -05:00
Brad Payne (Vir Linden) 27c83bf399 For EXT-5333: Bodyparts missing from appearance and COF. Fixed invisible to self after first login via createStandardWearables(). (Patch from Nyx) 2010-02-25 17:37:38 -05:00
Nyx (Neal Orman) d0e96bf4b2 EXT-4569 alpha preview not working after alpha is saved
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-09 17:43:16 -05:00
Richard Linden 3ce1d98046 EXT-5451 - HUD attachment points offset, when extending the right UI panel
reviewed by Callum
2010-02-23 14:07:31 -08:00
Eric M. Tulla (BigPapi) 443993bc19 EXT-4739 - Crash on teleport after viewer minimize. Making sure we don't accidentally set av self to null & added a few more null checks.
-Reviewed by nyx
2010-02-05 16:15:43 -05:00
Nyx (Neal Orman) b4d61b6e63 EXT-4003 Appearance problemw earing City Chic Female - probably param related
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-04 14:53:18 -05:00
Nyx (Neal Orman) 90bb29245c EXT-3514 update debug settings for new appearance features
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-16 12:15:18 -05:00
Loren Shih bfdfec637c INFRASTRUCTURE: Took out unused function "getAllAttachmentsArray" from llvoavatarself.
--HG--
branch : avatar-pipeline
2009-12-08 17:18:43 -05:00
Nyx (Neal Orman) 43d52671c8 EXT-2769 hair alpha not applied immediately
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-25 13:59:23 -05:00
Nyx (Neal Orman) 52a21a301b EXT-2818 not using IMG_INVISIBLE in baked textures
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-24 18:25:20 -05:00
Nyx (Neal Orman) ac78a7e8b8 Automated merge with ssh://hg.lindenlab.com/tulla/avatar-pipeline-2-0/
--HG--
branch : avatar-pipeline
2009-11-20 15:32:01 -05:00
Nyx (Neal Orman) f440bc5bcf EXT-2596 EXT-2354 extra lines in put on > attach put on > wear submenus
finishing the cleanup here, missed a couple of extraneous separators.

Will be post-reviewed.

--HG--
branch : avatar-pipeline
2009-11-20 15:31:47 -05:00
Nyx (Neal Orman) 1875d5e37b EXT-2539 confirm we're not sending local texture IDs in appearance msg
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-18 14:48:05 -05:00
Brad Payne (Vir Linden) f36c43abde branch merge
--HG--
branch : avatar-pipeline
2009-11-13 09:35:37 -05:00
Nyx (Neal Orman) 7f76507ddc EXT-2387 crash on dump local textures
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-12 18:08:22 -05:00
Nyx (Neal Orman) 8863987cae EXT-2354 menus contain multiple lines not editable in XUI
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-12 17:11:47 -05:00
Brad Payne (Vir Linden) 0b104e2a41 LLAppearanceManager cleanup - turning into proper singleton
--HG--
branch : avatar-pipeline
2009-11-12 15:10:06 -05:00
Nyx (Neal Orman) bc5096ff3d DEV-34507 too many baked texture uploads
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-11 16:40:15 -05:00
Nyx (Neal Orman) f6406b7174 EXT-2173 use of visual param animation inconsistent at best
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-11 16:37:59 -05:00
Nyx (Neal Orman) 75bdd2ff32 EXT-2326 Editing appearance causes too many texture callbacks stalls the viewer
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-09 16:41:16 -05:00
Steve Bennetts 0db73b1ac5 merge 2009-11-06 12:20:52 -08:00
Steve Bennetts afe6350160 merge from texture-pipeline 2009-11-06 12:15:41 -08:00
Nyx (Neal Orman) 258eb3d7dd EXT-1823 avatar shape corrupted with huge legs/feet
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-06 13:10:38 -05:00
Xiaohong Bao 35e200881c merge QAR-1829: texture pipeline branch in viewer-2.0.0.3 2009-11-06 06:52:24 +00:00
Bryan O'Sullivan fa3b57bd9f Merge the work lost in 49c9461937df back into the tree 2009-11-04 15:14:54 -08:00
Bryan O'Sullivan b806edf4ac Redo Bao's broken merge 2009-11-04 14:59:23 -08:00