summaryrefslogtreecommitdiff
path: root/indra/newview/lltexturectrl.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-08-27 08:59:48 -0700
committerGraham Linden <graham@lindenlab.com>2019-08-27 08:59:48 -0700
commit2cd01c8e92e2ecf4402a3a075ec8bdc6a8f20470 (patch)
treea9c3294db478489392c815542210550d2d59fccb /indra/newview/lltexturectrl.cpp
parent1cf1459cbc261c3512ebd6f07ce7b1d0f078f627 (diff)
Move decl of statics inside func to appease Clang, maybe.
Diffstat (limited to 'indra/newview/lltexturectrl.cpp')
-rw-r--r--indra/newview/lltexturectrl.cpp8
1 files changed, 4 insertions, 4 deletions
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