From 2cd01c8e92e2ecf4402a3a075ec8bdc6a8f20470 Mon Sep 17 00:00:00 2001 From: Graham Linden Date: Tue, 27 Aug 2019 08:59:48 -0700 Subject: Move decl of statics inside func to appease Clang, maybe. --- indra/newview/lltexturectrl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/lltexturectrl.cpp b/indra/newview/lltexturectrl.cpp index 395e83a036..e0ae8aaacb 100644 --- a/indra/newview/lltexturectrl.cpp +++ b/indra/newview/lltexturectrl.cpp @@ -73,10 +73,6 @@ #include "llavatarappearancedefines.h" -static const F32 CONTEXT_CONE_IN_ALPHA = 0.0f; -static const F32 CONTEXT_CONE_OUT_ALPHA = 1.f; -static const F32 CONTEXT_FADE_TIME = 0.08f; - static const S32 LOCAL_TRACKING_ID_COLUMN = 1; //static const char CURRENT_IMAGE_NAME[] = "Current Texture"; @@ -442,6 +438,10 @@ BOOL LLFloaterTexturePicker::postBuild() // virtual void LLFloaterTexturePicker::draw() { + static const F32 CONTEXT_CONE_IN_ALPHA = 0.0f; + static const F32 CONTEXT_CONE_OUT_ALPHA = 1.f; + static const F32 CONTEXT_FADE_TIME = 0.08f; + if (mOwner) { // draw cone of context pointing back to texture swatch -- cgit v1.2.3