Converted frequently occuring setting lookups to LLCachedControl
Added LLObjectList::getAvatar(LLUUID) for type-safe and quicker lookup Added F32 overload to LLSD because using F64 needlessly is silly. (And its lack of F32 overload caused issues with LLCachedControl<F32>)
This commit is contained in:
@@ -209,7 +209,8 @@ void LLDrawPoolTerrain::render(S32 pass)
|
||||
}
|
||||
|
||||
// Special-case for land ownership feedback
|
||||
if (gSavedSettings.getBOOL("ShowParcelOwners"))
|
||||
static LLCachedControl<bool> show_parcel_owners("ShowParcelOwners",false);
|
||||
if (show_parcel_owners)
|
||||
{
|
||||
if (mVertexShaderLevel > 1)
|
||||
{ //use fullbright shader for highlighting
|
||||
|
||||
Reference in New Issue
Block a user