summaryrefslogtreecommitdiff
path: root/indra/newview/llselectmgr.cpp
AgeCommit message (Collapse)Author
2017-04-21Automated merge with ssh://bitbucket.org/lindenlab/viewer-releaseNat Goodspeed
2017-03-30DRTVWR-418: Xcode 8.3 complains about LLSafeHandle<T> implementation.Nat Goodspeed
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-13MAINT-1324 Warning should appear that objects in different regions can't be ↵andreykproductengine
linked
2017-02-23MAINT-2132 Fixed Avatar hasn't animation while moving if wear and detach ↵andreykproductengine
object in edit mode
2017-02-15MAINT-7118 Swapping legacy people API with new cacheandreykproductengine
2017-01-27MAINT-86 Fixed object-contents aren't updated after wearing from groundandreykproductengine
2017-01-25MAINT-7072 Edit menu shows land impact of object you are sitting on instead ↵Mnikolenko Productengine
of 0 when selecting your attachment
2016-11-30MAINT-6803 Account for deselectionandreykproductengine
2016-10-21MAINT-6855 Developer > Show Info > Show Render Info is not reporting ↵Mnikolenko Productengine
accurate vertex counts for Selected Objects
2016-08-05MAINT-5018 crashing when touching meshruslantproductengine
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-03-16merge changes for DRTVWR-417Oz Linden
2016-01-15merge changes for 4.0.1-releaseOz Linden
2016-01-11MAINT-6025 FIXED "ctrl + z" not working on non-mod objectsandreykproductengine
2015-12-08MAINT-5925 FIXED Viewer allows you to locally retexture anyones content ↵Mnikolenko ProductEngine
including attachments.
2015-11-11Backed out changeset: a79540758404ruslantproductengine
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-10remove execute permission from many files that should not have itOz Linden
2015-10-19MAINT-5268 FIXED Rotating an object that's used as grid reference goes crazyruslantproductengine
2015-09-08MAINT-5268 (Rotating an object that's used as grid reference goes crazy)ruslantproductengine
- changeset 2
2015-09-03MAINT-5268 (Rotating an object that's used as grid reference goes crazy)ruslantproductengine
2015-08-18Merge downstream code and become version 3.8.4andreykproductengine
2015-07-15Merge from viewer-relese and become version 3.8.2andreykproductengine
2015-06-24MAINT-5026 FIXED 256 prim linksets made of smaller prims frequently link ↵andreykproductengine
only 254
2015-07-15Merge downstream code and become version 3.8.2andreykproductengine
2015-06-25MAINT-5299 FIXED [MAINT-RC] Unlinking individual prims from a linkset no ↵andreykproductengine
longer works
2015-05-19MAINT-3548 - FIXED-R2 Horizontal & vertical offset values for normal & ↵vyacheslavsproductengine
specular maps still randomly revert to previous settings when building.
2015-04-28increment viewer version to 3.7.29Mnikolenko ProductEngine
2015-04-28Merge viewer-release, become version 3.7.29Mnikolenko ProductEngine
2015-04-24merge with viewer tools updateBrad Payne (Vir Linden)
2015-04-13mergeBrad Payne (Vir Linden)
2015-04-13merge changes for 3.7.27-releaseOz Linden
2015-04-09MAINT-5069 WIP, MAINT-5071 WIP - handle dropping objects and attaching from ↵Brad Payne (Vir Linden)
ground. WIP on better tracking of attachment requests via various message in LLSelectMgr.
2015-02-26MAINT-4904 FIXED Show confirmation pop-up before unlinking an object.Mnikolenko ProductEngine
2014-12-01MAINT-4700 FIXED Viewer cursor defaults to 'grab' mode when clicking on ↵andreykproductengine
child prim of linkset that was recently physical and sat-upon
2014-11-18MAINT-1789 FIXED Object inspector doesn't show any information about object ↵Mnikolenko ProductEngine
if user uses Select Only My Objects option
2014-10-20Update to build on Xcode 6.0: Large (and final) collection of fixes for ↵callum_linden
unused variables, unused const-variables, unused member variables & functions etc. Also removed flags from CMake
2014-10-20Update to build on Xcode 6.0: clang demands logical comparison bracketscallum_linden
2014-10-10MAINT-3202 FIXED Cancel of selected colour in "Colour picker" floater does ↵andreykproductengine
not return colour icon to previous condition
2014-03-12merge with releaseRichard Linden
2013-11-21fix a mouse hovering crash.Xiaohong Bao
2013-10-08merge from viewer-releaseRichard Linden
2013-10-01Automated merge with http://bitbucket.org/lindenlab/viewer-releaseRichard Linden
2013-10-08Fix for random bad colors in UI on Intel HD 4000Dave Parks
2013-08-09second phase summer cleaningRichard Linden
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-07-30Summer cleaning - removed a lot of llcommon dependencies to speed up build timesRichard Linden
consolidated most indra-specific constants in llcommon under indra_constants.h fixed issues with operations on mixed unit types (implicit and explicit) made LL_INFOS() style macros variadic in order to subsume other logging methods such as ll_infos added optional tag output to error recorders
2013-06-20merge with releaseRichard Linden
2013-06-20NORSPEC-262 make drag and drop aware of editing context so that editing ↵Graham Linden
normal/spec textures causes application to the correct tex channel
2013-06-07NORSPEC-233 WIP for individual material param edits across hetero object ↵Graham Madarasz
selections
2013-06-05merge with viewer-releaseRichard Linden
2013-05-29NORSPEC-96 diff/norm/spec tex scale ratio rodeo, yoGraham Madarasz
2013-05-24NORSPEC-96 NORSPEC-189 another attempt at planar stretch across all 3 ↵Graham Madarasz
channels and make the materials CB use a UUID instead of this pointer for safety