summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-09-11 14:48:10 -0700
committerRider Linden <rider@lindenlab.com>2018-09-11 14:48:10 -0700
commitbe979a0cac6aaa11293f123d1f4ef794bf23dba9 (patch)
treea6780e427028b10bd6d0b4a27b6dfaccf426b014
parenta0b9c262185c00d15fb54d06ab2fdb1c6d6b95d9 (diff)
OSX gets anoyingly cranky if I don't use a variable.
-rw-r--r--indra/newview/llpanelenvironment.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llpanelenvironment.cpp b/indra/newview/llpanelenvironment.cpp
index d3325796fb..94fa198085 100644
--- a/indra/newview/llpanelenvironment.cpp
+++ b/indra/newview/llpanelenvironment.cpp
@@ -89,7 +89,10 @@ const U32 LLPanelEnvironmentInfo::DIRTY_FLAG_MASK(
LLPanelEnvironmentInfo::DIRTY_FLAG_DAYOFFSET |
LLPanelEnvironmentInfo::DIRTY_FLAG_ALTITUDES);
+#if 0
+// Because the OSX is Very cranky when I don't use a variable.
const U32 ALTITUDE_SLIDER_COUNT = 3;
+
const std::string alt_sliders[] = {
"sld1",
"sld2",
@@ -102,6 +105,7 @@ const std::string alt_labels[] = {
"alt3",
"ground",
};
+#endif
//=========================================================================
LLPanelEnvironmentInfo::LLPanelEnvironmentInfo():