summaryrefslogtreecommitdiff
path: root/indra/newview/llenvironment.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-08-03 22:21:43 -0700
committerRider Linden <rider@lindenlab.com>2018-08-03 22:21:43 -0700
commit76206db45e7966657ce757d74a9ebad991b61ff1 (patch)
tree3b8b17111c3b12bef2a16d7e208303e3853c2723 /indra/newview/llenvironment.cpp
parent7e8c849a155eb7de73a324cb3d7195502ff1f574 (diff)
remove some pragmas that snuck in
Diffstat (limited to 'indra/newview/llenvironment.cpp')
-rw-r--r--indra/newview/llenvironment.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/newview/llenvironment.cpp b/indra/newview/llenvironment.cpp
index b73b8cb278..8f6a94962f 100644
--- a/indra/newview/llenvironment.cpp
+++ b/indra/newview/llenvironment.cpp
@@ -283,7 +283,6 @@ LLEnvironment::LLEnvironment():
{
}
-#pragma optimize ("", off)
void LLEnvironment::initSingleton()
{
LLSettingsSky::ptr_t p_default_sky = LLSettingsVOSky::buildDefaultSky();
@@ -305,7 +304,6 @@ void LLEnvironment::initSingleton()
gAgent.whenPositionChanged([this](const LLVector3 &localpos, const LLVector3d &) { onAgentPositionHasChanged(localpos); });
}
-#pragma optimize ("", on)
LLEnvironment::~LLEnvironment()
{
@@ -407,7 +405,6 @@ bool LLEnvironment::isInventoryEnabled() const
!gAgent.getRegionCapability("UpdateSettingsTaskInventory").empty());
}
-#pragma optimize ("", off)
void LLEnvironment::onParcelChange()
{
S32 parcel_id(INVALID_PARCEL_ID);
@@ -420,7 +417,6 @@ void LLEnvironment::onParcelChange()
requestParcel(parcel_id);
}
-#pragma optimize ("", on)
void LLEnvironment::onLegacyRegionSettings(LLSD data)
{
@@ -996,7 +992,6 @@ void LLEnvironment::recordEnvironment(S32 parcel_id, LLEnvironment::EnvironmentI
}
//=========================================================================
-#pragma optimize ("", off)
void LLEnvironment::requestRegion()
{
if (!isExtendedEnvironmentEnabled())
@@ -1007,7 +1002,6 @@ void LLEnvironment::requestRegion()
requestParcel(INVALID_PARCEL_ID);
}
-#pragma optimize ("", on)
void LLEnvironment::updateRegion(const LLSettingsDay::ptr_t &pday, S32 day_length, S32 day_offset)
{