Commit Graph

36191 Commits (5521066237cd50feb09fc3244dda42e7c9609842)

Author SHA1 Message Date
Brad Payne (Vir Linden) 5521066237 SL-109 - added another diagnostic option for skel_tool.py. --slider_info dumps the info about bone-affecting sliders to stdout 2016-09-02 08:15:54 -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) 2de32f2485 SL-427 - trying less frequent computeBodySize() updates to avoid 'camera at sea' and related issues. 2016-08-24 10:50:23 -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) 278825191b TEST - non-SSE code path for matrix ops used in mesh skinning. 2016-08-23 15:08:14 -04:00
Brad Payne (Vir Linden) d23bb7e056 MAINT-6647 - make SLM behavior still available if MeshImportUseSLM is true; still defaults to false. 2016-08-19 09:47:26 -04:00
Brad Payne (Vir Linden) 1e6d9ba4be MAINT-6647 - make SLM files even more dead. 2016-08-18 11:31:16 -04:00
Brad Payne (Vir Linden) f51c1553bc merge 2016-08-17 16:31:44 -04:00
Brad Payne (Vir Linden) 72d5ff36f5 MAINT-6647 - ignore previously created slm files on model upload. SL-442 - change coloring for show bones, to highlight joint positions and rigging 2016-08-17 16:31:28 -04:00
eli 7104ededb5 FIX INTL-224 Viewer Set45 translation for bento-box in 9 languages 2016-08-16 17:47:49 -07:00
Brad Payne (Vir Linden) 39a0c35814 merge 2016-08-16 15:39:04 -04:00
Brad Payne (Vir Linden) 6d2770290e merge 2016-08-16 15:34:18 -04:00
Nat Goodspeed b240c494c4 Re-delete VSTool.exe invocations from autobuild.xml.
The CMake invocations are controlled by UNATTENDED -- these were not. Let
CMake do it if it must be done.
2016-08-16 11:03:03 -04:00
Brad Payne (Vir Linden) 9044a8b815 merge 2016-08-15 17:27:52 -04:00
Brad Payne (Vir Linden) f8f79c20ef merge 2016-08-15 17:21:18 -04:00
Nat Goodspeed b0c434fadf Set CMake UNATTENDED variable to suppress VSTool in TC builds. 2016-08-15 17:15:31 -04:00
Nat Goodspeed 454da876dc Backed out changeset e187a6b45ce6: restored VSTool et al. 2016-08-15 17:12:37 -04:00
Brad Payne (Vir Linden) ab4a681034 merge 2016-08-15 16:16:41 -04:00
Nat Goodspeed b25ee9095d Remove VSTool, its build info and all invocations.
VSTool manipulates the SecondLife.sln solution file for the convenience of a
developer subsequently running Visual Studio interactively. But the cost of
having it sometimes break TeamCity automated builds is too high -- especially
since we never expect to run Visual Studio interactively on a TC build host.

Also remove the CMake UNATTENDED variable that controlled it.
2016-08-15 14:13:56 -04:00
Brad Payne (Vir Linden) 57da9bcd1b merge from viewer-release 2016-08-15 09:52:06 -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
Oz Linden 4fb100ac7a increment viewer version to 4.0.8 2016-08-11 15:31:41 -04:00
Oz Linden e4a1b2c940 Added tag 4.0.7-release for changeset 33981d8130f0 2016-08-11 15:31:41 -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) b7a0d441a3 SL-126 - attachment logging under avatar at DEBUG level. Also fixed a typo in avatar_lad.xml 2016-08-09 09:17:37 -04:00
Brad Payne (Vir Linden) ba90b2d3c7 SL-433 - fix for mesh eye scaling with eye size slider. Previous values were based on incorrectly sized reference eyes. 2016-08-08 15:18:12 -04:00
AndreyL ProductEngine ec4f5ade76 Merged in oz_linden/viewer-build 2016-08-05 01:02:33 +03:00
Andrey Lihatskiy 8ba372c886 Merged andreyl_productengine/viewer-427 into default 2016-08-05 00:50:53 +03:00
AndreyL ProductEngine f459c67fae Buildfix: brought back LINDEN_J2C_COMMENT_PREFIX 2016-08-05 00:58:09 +03:00
Nat Goodspeed 2ce38c3c98 MAINT-6584: Comment out completely unused LLImageJ2CKDU code.
The only call to the findDiscardLevelsBoundaries() method was commented out
inside initDecode(), with a comment:
        // Merov : Test!! DO NOT COMMIT!!

This was the only caller of copy_tile(), which was the only caller of
copy_block(). Commented out all three of these (biggish!) functions, since I
have no idea what any of them were supposed to do or when it might be useful
to call them. In other words, I can't yet rule out the possibility that I
might have to uncomment them.
2016-08-04 16:20:39 -04:00
AndreyL ProductEngine 6de8631327 Merged in lindenlab/viewer-lynx 2016-08-04 21:11:32 +03:00
andreykproductengine ce36584552 MAINT-6460 getMeshSize crash 2016-08-01 18:58:41 +03:00
andreykproductengine 9b07078b47 MAINT-6460 Crash calculating mesh complexity 2016-08-01 18:00:54 +03:00
andreykproductengine 13f19b1634 Backed out changeset: c21a7e6d9796 2016-08-01 17:25:20 +03:00
AndreyL ProductEngine 974e5e5868 MAINT-6511 Replaced c-style casts with dynamic_cast in llfloater.cpp 2016-07-28 00:15:49 +03:00
AndreyL ProductEngine 2339e759fc MAINT-4327/MAINT-6584 Supress the crash on memory allocation error when decoding J2C images 2016-07-27 05:49:07 +03:00
Nat Goodspeed 03bff896bd MAINT-6584: Use RAII classes to manage helper object lifespans.
Use boost::scoped_ptr instead of raw pointers to LLKDUMemSource,
LLKDUDecodeState, kdu_coords and kdu_dims so cleanup is simpler, and automated
on destruction of LLImageJ2CKDU.

Replace pointer to kdu_codestream with a custom RAII class. kdu_codestream is
itself an opaque handle, so we don't need to add another layer of indirection.
Just wrap it to ensure its destroy() method is reliably called when needed.

Make static instances of LLKDUMessageWarning and LLKDUMessageError
self-register, eliminating the companion static bool and explicit checks in
code.
2016-08-03 20:40:03 -04:00
Oz Linden b779ca0aed fail build on a failed configure 2016-07-26 17:43:39 -04:00
andreykproductengine 1b1f4252e3 MAINT-6460 Crash calculating mesh complexity 2016-07-25 23:43:37 +03:00
Nat Goodspeed acdb050ce5 MAINT-6584: Convert LLImage class hierarchy to standard 'bool'
instead of legacy BOOL.
2016-07-22 11:35:23 -04:00
Nat Goodspeed ab07b1a461 MAINT-6584: Rationalize custom KDU error/warning message classes.
Derive them both from a common base class that does the message logging,
instead of having each handler class log redundantly -- especially since the
put_text() override accepting const kdu_uint16* was simply streaming the
kdu_uint16 pointer to the log file, which would log the hex value of the
pointer.

Although we want a static instance of each of these handler classes, pull it
out rather than nesting the instance within the class itself.
2016-07-22 10:32:53 -04:00
Nat Goodspeed 71b593e88b MAINT-6584: Streamline static LLImageJ2C implementation API.
Specifically, remove unused function pointer types CreateLLImageJ2CFunction,
DestroyLLImageJ2CFunction and EngineInfoLLImageJ2CFunction.

Also eliminate static fallbackDestroyLLImageJ2CImpl() and
fallbackEngineInfoLLImageJ2CImpl(), leaving only static
fallbackCreateLLImageJ2CImpl().

We do need a factory function to instantiate the appropriate LLImageJ2CImpl
subclass, so leave the fallbackCreateLLImageJ2CImpl() link seam in place.

However, given that every known LLImageJ2CImpl subclass is cheap to
instantiate, make getEngineInfo() a pure virtual method on that subclass: the
static LLImageJ2C::getEngineInfo() method can temporarily construct an
instance to query. While we're at it, make getEngineInfo() return std::string
like LLImageJ2C::getEngineInfo(). It's ridiculous that
fallbackEngineInfoLLImageJ2CImpl() implementations constructed a static
std::string and returned its c_str(), only to have LLImageJ2C::getEngineInfo()
construct ANOTHER std::string from the returned const char*.

fallbackDestroyLLImageJ2CImpl() never did anything useful: it merely deleted
the passed LLImageJ2CImpl subclass pointer as the specific subclass type. But
since LLImageJ2CImpl's destructor is virtual, LLImageJ2C's destructor could
simply delete the stored LLImageJ2CImpl*. In fact, make mImpl a
boost::scoped_ptr<LLImageJ2CImpl> so we don't even have to delete it manually.
2016-07-21 16:49:02 -04:00
Nat Goodspeed f09a92f1f3 DRTVWR-427: Remove engineInfoLLImageJ2CKDU(), createLLImageJ2CKDU(),
destroyLLImageJ2CKDU().

These were apparently intended as simple C-style DLL entry points. But as
nobody calls them, and as we decided against building the viewer from DLLs,
they only clutter the code.
2016-07-21 14:29:29 -04:00
Brad Payne (Vir Linden) e0c2a4ac33 SL-126 - getting performance analysis into a non-crashing state 2016-07-15 10:52:29 -04:00
Oz Linden 0db98a6308 merge changes for STORM-2133 2016-07-14 11:35:14 -04:00
andreykproductengine 00a193e740 MAINT-6460 Crash calculating mesh complexity 2016-07-14 15:21:39 +03:00
Ansariel d2cf09e7d2 STORM-2133: VOICE-36 prevents proper shutdown of connector 2016-07-14 10:28:54 +02:00
Brad Payne (Vir Linden) 913659c309 merge 2016-07-12 15:17:28 -04:00
Brad Payne (Vir Linden) a1655f032d SL-424 - slider eye fixes, tail scaling with height 2016-07-12 15:06:48 -04:00
andreykproductengine b06d5aeec8 MAINT-6460 Crash calculating mesh complexity 2016-07-12 21:37:45 +03:00