Commit Graph

349 Commits (5d844d2646166fe112bc58362b7dfd4e24fa76ec)

Author SHA1 Message Date
ruslantproductengine 4c0f6f5825 SL-10194 Selecting mesh face doesn't highlight the face in any way
- Fixed according to Steeltoe notes.
- Add const modifier for some methods
2019-01-25 18:26:42 +02:00
ruslantproductengine 2e55e529d4 SL-10194 Selecting mesh face doesn't highlight the face in any way
- Implemented
2019-01-08 18:26:34 +02:00
AndreyL ProductEngine c21396181b Merged in lindenlab/viewer-release 2018-11-14 22:47:31 +02:00
Brad Payne (Vir Linden) a84ee929a5 merge 2018-09-27 19:54:10 +01:00
AndreyL ProductEngine 892d3a9bf8 Merged in lindenlab/viewer-release 2018-09-27 13:04:12 +03:00
AndreyL ProductEngine 7bb2faac0f mac build fix 2018-08-16 21:09:45 +03:00
ruslantproductengine 8a352faeae MAINT-8937 - Selection Outline Odd Behavior When Panning Around
Fixed.
2018-08-16 18:32:34 +03:00
Graham Linden 4cd59b3d8e Remove debug code for conditional BP. 2018-08-01 00:35:33 +01:00
Graham Linden ee91efb053 Fix template specialization syntax for Clang that MSVC does not demand. 2018-07-31 20:22:28 +01:00
Graham Linden d748dbce45 MAINT-8909
Loosen precision when checking rotation and other false negatives when comparing
faces to see if they can be considered planar aligned. This was causing fields to
be marked tentative (grayed display) incorrectly.
2018-07-31 17:35:42 +01:00
Graham Linden 60d256e80f MAINT-8915
Fix sync of material rotation and offset values when using aligned planar faces.

Make it possible to set a specific TE's normal/spec offset/rotation values.

Eliminate redundant conversions in LLSD -> struct handler.
2018-07-30 22:38:30 +01:00
andreykproductengine f796c33d43 MAINT-8844 Null check (just to be on the safe side) 2018-07-19 11:59:02 +03:00
andreykproductengine ef148a73aa MAINT-8844 Fix redundant check 2018-07-18 20:35:41 +03:00
andreykproductengine 1e883c5b39 MAINT-8844 Fixed selection inconsistancies (inworld manipulation vs tool floater) 2018-07-16 17:35:29 +03:00
Brad Payne (Vir Linden) 2a2046fd07 merge 2018-06-05 22:44:04 +01:00
ruslantproductengine 395ce043c7 MAINT-8388 [LOVE ME RENDER] Highlighting Changes Make Editing Mesh Objects Difficult
Wire selection mode - while Edit tool is selected
Outline selection mode - for all other case
2018-04-23 18:50:27 +03:00
Brad Payne (Vir Linden) 7d91a263a8 MAINT-8549 - more on animesh ARC and associated refactoring 2018-04-25 17:10:21 +01:00
Brad Payne (Vir Linden) e36745eb98 merge 2018-01-17 16:06:27 +00:00
Brad Payne (Vir Linden) 64e5cfc054 SL-704 - more cleanup, including releaseMeshData() for control avatars, which don't need mesh data. 2017-11-16 20:00:38 +00:00
Brad Payne (Vir Linden) 2f1b75f03e SL-704 - first pass cleaning up comments. Also added LLControlAvatar::initInstance() as a potential hook for optimizations. 2017-11-16 19:24:53 +00:00
Brad Payne (Vir Linden) c7a0b25977 SL-831 - animesh objects are not required to have any tris. If they have no tris, we don't bother making a control avatar for them. 2017-11-08 19:56:09 +00:00
Brad Payne (Vir Linden) ae40b68ba7 SL-830, SL-831 - no linking if any of the roots is animated object. isAnimatedObject() just uses check against extended mesh flag of the root. On select, LLVOVolume marks whole linkset for update if animated object. 2017-11-01 22:07:42 +01:00
ruslantproductengine 325c076d09 MAINT-7213 Shared media (media as a texture) unusable with transparent mesh
New outline selection around mesh objects.
2017-10-26 18:33:08 +03:00
Brad Payne (Vir Linden) 853924c7ef SL-794 - use largest LOD for est tri count, instead of trusting that it's always the high LOD 2017-09-29 19:08:41 +01:00
Brad Payne (Vir Linden) a6068419e7 SL-794, SL-790 - viewer-side enforcement in UI for various animated object limits that are also enforced on the server. 2017-09-22 18:04:03 +01:00
Brad Payne (Vir Linden) 72010fba4d SL-718 - bug fixes for animated objects as attachments: Pause all associated avatars when selecting/editing. Don't apply joint positions to the attached avatar on login. 2017-08-04 16:20:04 +01:00
Brad Payne (Vir Linden) 5610444d64 SL-714 - fixes to get wireframes to display consistently when right-clicking on animated objects. 2017-07-19 22:21:08 +01:00
Brad Payne (Vir Linden) c4bc677a40 SL-714 - pause associated avatar when an animated object is selected. Handles the possibility that multiple avatars need to be paused. 2017-07-17 21:02:16 +01:00
Brad Payne (Vir Linden) 99effd37ab SL-714 - pause animations when animated objects are right clicked, generate rigged volume for wireframe. 2017-07-13 20:50:38 +01:00
Nat Goodspeed 5f6bcaf456 Automated merge with ssh://bitbucket.org/lindenlab/viewer-release 2017-04-21 16:43:56 -04:00
Nat Goodspeed e9fe0714ad DRTVWR-418: Xcode 8.3 complains about LLSafeHandle<T> implementation.
The previous LLSafeHandle<T> implementation declares a static data member of
the template class but provides no (generic) definition, relying on particular
specializations to provide the definition. The data member is a function
pointer, which is called in one of the methods to produce a pointer to a
"null" T instance: that is, a dummy instance to be dereferenced in case the
wrapped T* is null.

Xcode 8.3's version of clang is bothered by the call, in a generic method,
through this (usually) uninitialized pointer. It happens that the only
specializations of LLSafeHandle do both provide definitions. I don't know
whether that's formally valid C++03 or not; but I agree with the compiler: I
don't like it.

Instead of declaring a public static function pointer which each
specialization is required to define, add a protected static method to the
template class. This protected static method simply returns a pointer to a
function-static T instance. This is functionally similar to a static
LLPointer<T> set on demand (as in the two specializations), including lazy
instantiation.

Unlike the previous implementation, this approach prohibits a given
specialization from customizing the "null" instance function. Although there
exist reasonable ways to support that (e.g. a related traits template), I
decided not to complicate the LLSafeHandle implementation to make it more
generally useful. I don't really approve of LLSafeHandle, and don't want to
see it proliferate. It's not clear that unconditionally dereferencing
LLSafeHandle<T> is in any way better than conditionally dereferencing
LLPointer<T>. It doesn't even skip the runtime conditional test; it simply
obscures it. (There exist hints in the code that at one time it might have
immediately replaced any wrapped null pointer value with the pointer to the
"null" instance, obviating the test at dereference time, but this is not the
current functionality. Perhaps it was only ever wishful thinking.)

Remove the corresponding functions and static LLPointers from the two classes
that use LLSafeHandle.
2017-03-30 15:39:47 -04:00
andreykproductengine 84dd347ae7 MAINT-1324 Warning should appear that objects in different regions can't be linked 2017-03-13 20:48:44 +02:00
andreykproductengine 043d13d5e4 MAINT-2132 Fixed Avatar hasn't animation while moving if wear and detach object in edit mode 2017-02-23 19:38:12 +02:00
andreykproductengine 605160d501 MAINT-7118 Swapping legacy people API with new cache 2017-02-15 20:40:03 +02:00
andreykproductengine ded008a8e1 MAINT-86 Fixed object-contents aren't updated after wearing from ground 2017-01-27 17:43:27 +02:00
Mnikolenko Productengine 9d67a4910d MAINT-7072 Edit menu shows land impact of object you are sitting on instead of 0 when selecting your attachment 2017-01-25 18:03:18 +02:00
andreykproductengine 00bb6a5ecd MAINT-6803 Account for deselection 2016-11-30 21:25:06 +02:00
Mnikolenko Productengine 0149c4caa9 MAINT-6855 Developer > Show Info > Show Render Info is not reporting accurate vertex counts for Selected Objects 2016-10-21 17:29:05 +03:00
ruslantproductengine 25c20f98a8 MAINT-5018 crashing when touching mesh
Fix #1 Disable FSAA for drawing selected objects (it help to avoid crash on
old ATI cards (in my case it's a HD3800)).
2016-08-05 17:21:22 +03:00
Oz Linden 31f3db0291 merge changes for DRTVWR-417 2016-03-16 13:08:06 -04:00
Oz Linden bc22e58743 merge changes for 4.0.1-release 2016-01-15 16:55:04 -05:00
andreykproductengine f412042e90 MAINT-6025 FIXED "ctrl + z" not working on non-mod objects 2016-01-11 20:26:16 +02:00
Mnikolenko ProductEngine b78fe654d5 MAINT-5925 FIXED Viewer allows you to locally retexture anyones content including attachments. 2015-12-08 11:23:47 +02:00
ruslantproductengine 049c795b12 Backed out changeset: a79540758404
Need backed out this changes because it influence on material
update see: MAINT-5818
Also this lead to the following:
UserA and UserB logged in same location.
UserA edit normal/specular map texture offsets while UserB is not observe this
changes.
2015-11-11 17:59:14 +02:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
ruslantproductengine 3c26c54e2d MAINT-5268 FIXED Rotating an object that's used as grid reference goes crazy 2015-10-19 15:26:58 +03:00
ruslantproductengine 9bfd0f75c3 MAINT-5268 (Rotating an object that's used as grid reference goes crazy)
- changeset 2
2015-09-08 20:08:07 +03:00
ruslantproductengine bc8fe00b99 MAINT-5268 (Rotating an object that's used as grid reference goes crazy) 2015-09-03 19:21:49 +03:00
andreykproductengine 62d9b8cbf2 Merge downstream code and become version 3.8.4 2015-08-18 16:42:48 +03:00
andreykproductengine e03c133750 Merge from viewer-relese and become version 3.8.2 2015-07-15 14:59:32 +03:00