Commit Graph

202 Commits (8a13530ce4eeb481ee467fd3ec54f1ed7e9f632a)

Author SHA1 Message Date
Anchor Linden 8a13530ce4 [MAINT-8742] - fix color/tint on universal tattoos 2018-06-27 03:08:06 +05:30
Anchor Linden 7abb0c99be [DRTVWR-476] - add universal head,upper,lower tattoos 2018-06-13 01:09:27 +05:30
Anchor Linden 56fc3222dc [DRTVWR-476] - create new wearable type 2018-06-08 20:36:49 +05:30
Anchor Linden 0fdbe7e34d Merge 2018-05-21 16:47:42 -07:00
Anchor Linden 3bf89821d9 [DRTVWR-455] - added 5 new bake channels 2018-05-21 16:00:52 -07:00
Anchor Linden 618179a717 Merge 2018-02-28 22:42:23 -08:00
Anchor Linden bfbcd6d169 [MAINT-8081] - bakes on mesh. 1st pass. changed texture panel to select bakes on objects. handle magic bake ids in LLViewerObject. 2018-02-28 22:14:38 -08:00
Graham Linden graham@lindenlab.com 06bce2ddd0 Add debug setting and code to allow nVidia nSight graphics debugging to capture SL frames.
These changes are only enabled if RenderNsightDebugSupport is true and eliminate use of
some OpenGL legacy functionality which is incompatible with nSight capture
(mostly glReadPixels and other fixed-function pipe rendering calls).
2018-02-15 21:55:24 +00:00
Ankur Ahlawat 5a12a88f7b Merged lindenlab/viewer-release into default 2018-01-17 15:53:56 -08:00
Anchor 8c7edbef18 1024*1024 baking viewer updates 2017-09-06 03:24:58 -07:00
Nat Goodspeed 40b4cbf2c7 DRTVWR-418: Trivial change to bump the TeamCity build. 2017-08-24 07:21:23 -04:00
Anchor 33ef63f3ed 1024*1024 baking texture size. 2017-07-27 10:03:20 -08:00
Nat Goodspeed d2e720a651 DRTVWR-418: Harmless commit to force a TeamCity rebuild. 2017-05-09 13:04:03 -04:00
Nat Goodspeed 434f0e161a Automated merge with ssh://bitbucket.org/lindenlab/viewer-release 2017-02-03 09:54:52 -05:00
Nat Goodspeed 24d2c4ae48 DRTVWR-418: Harmless change to kick TeamCity build. 2017-01-04 12:04:33 -05:00
Nat Goodspeed b3212f873d DRTVWR-418: Harmless change to kick the TeamCity build. 2016-12-21 10:43:42 -05:00
Brad Payne (Vir Linden) 4c2144e115 SL-534 - make handling of other-gender sliders more consistent. Fixes mGroin bug. 2016-11-18 09:39:14 -05:00
AndreyL ProductEngine 2abd0eef41 Merged in lindenlab/viewer-release
DRTVWR-412 Bento (avatar skeleton extensions)
2016-12-05 21:51:29 +02:00
Brad Payne (Vir Linden) 801a628cc1 SL-451 - removed member variable that's no longer used with current joint numbering scheme 2016-09-29 09:59:50 -04:00
Brad Payne (Vir Linden) e6297ab3d6 SL-451 - support for getJoint() by number, use in initSkinningMatrixPalette() 2016-09-27 17:29:22 -04:00
Nat Goodspeed d2c3c2f9fe MAINT-5232: Normalize LLSingleton subclasses.
A shocking number of LLSingleton subclasses had public constructors -- and in
several instances, were being explicitly instantiated independently of the
LLSingleton machinery. This breaks the new LLSingleton dependency-tracking
machinery. It seems only fair that if you say you want an LLSingleton, there
should only be ONE INSTANCE!

Introduce LLSINGLETON() and LLSINGLETON_EMPTY_CTOR() macros. These handle the
friend class LLSingleton<whatevah>;
and explicitly declare a private nullary constructor.

To try to enforce the LLSINGLETON() convention, introduce a new pure virtual
LLSingleton method you_must_use_LLSINGLETON_macro() which is, as you might
suspect, defined by the macro. If you declare an LLSingleton subclass without
using LLSINGLETON() or LLSINGLETON_EMPTY_CTOR() in the class body, you can't
instantiate the subclass for lack of a you_must_use_LLSINGLETON_macro()
implementation -- which will hopefully remind the coder.

Trawl through ALL LLSingleton subclass definitions, sprinkling in
LLSINGLETON() or LLSINGLETON_EMPTY_CTOR() as appropriate. Remove all explicit
constructor declarations, public or private, along with relevant 'friend class
LLSingleton<myself>' declarations. Where destructors are declared, move them
into private section as well. Where the constructor was inline but nontrivial,
move out of class body.

Fix several LLSingleton abuses revealed by making ctors/dtors private:

LLGlobalEconomy was both an LLSingleton and the base class for
LLRegionEconomy, a non-LLSingleton. (Therefore every LLRegionEconomy instance
contained another instance of the LLGlobalEconomy "singleton.") Extract
LLBaseEconomy; LLGlobalEconomy is now a trivial subclass of that.
LLRegionEconomy, as you might suspect, now derives from LLBaseEconomy.

LLToolGrab, an LLSingleton, was also explicitly instantiated by
LLToolCompGun's constructor. Extract LLToolGrabBase, explicitly instantiated,
with trivial subclass LLToolGrab, the LLSingleton instance.

(WARNING: LLToolGrabBase methods have an unnerving tendency to go after
LLToolGrab::getInstance(). I DO NOT KNOW what should be the relationship
between the instance in LLToolCompGun and the LLToolGrab singleton instance.)

LLGridManager declared a variant constructor accepting (const std::string&),
with the comment:
// initialize with an explicity grid file for testing.
As there is no evidence of this being called from anywhere, delete it.

LLChicletBar's constructor accepted an optional (const LLSD&). As the LLSD
parameter wasn't used, and as there is no evidence of it being passed from
anywhere, delete the parameter.

LLViewerWindow::shutdownViews() was checking LLNavigationBar::
instanceExists(), then deleting its getInstance() pointer -- leaving a
dangling LLSingleton instance pointer, a land mine if any subsequent code
should attempt to reference it. Use deleteSingleton() instead.

~LLAppViewer() was calling LLViewerEventRecorder::instance() and then
explicitly calling ~LLViewerEventRecorder() on that instance -- leaving the
LLSingleton instance pointer pointing to an allocated-but-destroyed instance.
Use deleteSingleton() instead.
2016-09-15 20:18:12 -04:00
Brad Payne (Vir Linden) a2875ba53e merge 2016-09-02 14:34:06 -04:00
Brad Payne (Vir Linden) 1848a9267b SL-427 - debug logging for AvatarBodySize will give details about when and why body size changed 2016-08-25 10:42:34 -04:00
Brad Payne (Vir Linden) f9be47d669 SL-274 - disabled test w/non-SSE matrix ops. MAINT-6672 - fixed Reset Skeleton, no longer crashes. 2016-08-23 17:08:57 -04:00
Brad Payne (Vir Linden) 85a13b53f5 MAINT-6631 - reluctantly, added support for animation of collision volumes, to avoid breaking existing content. 2016-08-12 14:20:44 -04:00
Brad Payne (Vir Linden) 95d9e85f95 SL-109 - made viewer much less tolerant of bad data in avatar_skeleton.xml or avatar_lad.xml. If either of these is broken, there's no point trying to continue, more informative to just error out with an appropriate message. 2016-08-09 15:24:09 -04:00
Brad Payne (Vir Linden) 5ebf9b3cae SL-426 - strings.xml fix for pec attachments, SL-402 - diagnostics for investigation 2016-06-29 09:41:06 -04:00
Brad Payne (Vir Linden) 7f904fbcbd SL-124 - code cleanup 2016-06-27 08:48:15 -04:00
Brad Payne (Vir Linden) b649847fe9 SL-124 - comment cleanup, fixed a crash if skinned mesh has no valid joint names defined 2016-06-24 16:43:23 -04:00
Brad Payne (Vir Linden) 3a53109152 SL-395 - support scale overrides (currently no way to get these into a dae, so the actual scale values are fabricated at run-time based on the joint name) 2016-06-07 10:39:32 -04:00
Brad Payne (Vir Linden) f47ceb47bb merged jelly-doll viewer-release into bento 2016-05-21 08:15:28 -04:00
Brad Payne (Vir Linden) e8afa4c413 SL-315 - fixed collision volume scale issue in resetSkeleton() 2016-05-18 17:07:54 -04:00
Brad Payne (Vir Linden) bb2c147c26 SL-315 - fix for max/linux build failure, additional lad validation in skel_tool.py 2016-05-18 09:06:46 -04:00
Brad Payne (Vir Linden) 82111ecbde SL-315 - resetSkeleton() fixes, mostly to get better behavior with non-self avs 2016-05-17 16:06:27 -04:00
Brad Payne (Vir Linden) d0dea44c01 SL-315 - resetSkeleton(). Still some small scale discrepancies, visually pretty good. 2016-05-12 10:57:08 -04:00
Brad Payne (Vir Linden) 182f2a4815 SL-315 - resetSkeleton(), working for bones at least partially, still some issues with collision volumes 2016-05-11 16:08:25 -04:00
Brad Payne (Vir Linden) 41bdfe07bb SL-315 - resetSkeleton() work including attachment points, reapplying appearance message values. 2016-05-10 16:15:24 -04:00
Brad Payne (Vir Linden) 70156605e2 SL-374 - don't allow sliders to modify joint positions if there's already a mesh-imposed override in place. 2016-04-22 14:51:57 -04:00
Brad Payne (Vir Linden) 223f090709 SL-371 - more tracking on partial joint overrides 2016-04-18 19:31:29 -04:00
Brad Payne (Vir Linden) 6a84d236f4 SL-362 - changed 'could not link driven params for wearable' into a debug message. Needs more diagnosis to figure out whether we care. Silencing for now to avoid redundant bug reports. 2016-04-11 09:01:44 -04:00
Oz Linden 9be58e915a merge with 4.0.3-release 2016-04-04 15:53:09 -04:00
Brad Payne (Vir Linden) caf4f49437 merge 2016-04-01 08:35:38 -04:00
Brad Payne (Vir Linden) 05bd94268d SL-315 - wip on joint reset 2016-03-10 10:12:25 -05:00
Brad Payne (Vir Linden) 80b010b199 SL-109 WIP - minor code cleanup 2016-02-26 16:54:00 -05:00
Brad Payne (Vir Linden) 3956efc4fa SL-287 - default avatar handles position changes caused by extra spine joints 2016-02-26 10:11:17 -05:00
Brad Payne (Vir Linden) f1e6f5c72a SL-287 WIP - fixed default avatar crash caused by added spine joints. Still renders distorted. 2016-02-23 09:34:40 -05:00
Brad Payne (Vir Linden) 62d14e1a33 SL-333 WIP - added back some unused constructors to make the appearance utility happier 2016-02-12 15:40:46 -05:00
Brad Payne (Vir Linden) f8ee9ffce6 SL-333 work - attachment joints now get a valid mJointNum, more checking on valid joint num values. Also reduced log spam slightly. 2016-02-03 16:52:27 -05:00
Brad Payne (Vir Linden) ef02c9ea69 SL-315 - context strings, comments, debugging. joint_test temporarily disabled. 2016-02-03 08:59:25 -05:00
Brad Payne (Vir Linden) 99f4b27020 SL-276, SL-277 - support for version 2.0 of avatar_skeleton.xml and avatar_lad.xml 2015-12-15 08:11:56 -05:00