diff options
author | Oz Linden <oz@lindenlab.com> | 2013-11-19 15:51:27 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-11-19 15:51:27 -0500 |
commit | fcc885d4fc5ef63dad33e89a9324edc39d466d37 (patch) | |
tree | 563fe90a79ea446a5e7b8d0b1a7d6fc66b1fa557 /indra/newview/llagent.cpp | |
parent | a5db4f6c3d1f6804c20b3095b39203887728d3a6 (diff) |
replace uses of LLEnvManagerNew::setRegionChangeCallback with LLAgent::addRegionChangedCallback
Diffstat (limited to 'indra/newview/llagent.cpp')
-rwxr-xr-x | indra/newview/llagent.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index 5302ae2636..6ee8f26b9f 100755 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -850,7 +850,6 @@ boost::signals2::connection LLAgent::addParcelChangedCallback(parcel_changed_cal //----------------------------------------------------------------------------- void LLAgent::setRegion(LLViewerRegion *regionp) { - bool teleport = true; bool notifyRegionChange; llassert(regionp); @@ -888,9 +887,6 @@ void LLAgent::setRegion(LLViewerRegion *regionp) { gSky.mVOGroundp->setRegion(regionp); } - - // Notify windlight managers - teleport = (gAgent.getTeleportState() != LLAgent::TELEPORT_NONE); } else { @@ -938,15 +934,6 @@ void LLAgent::setRegion(LLViewerRegion *regionp) LLFloaterMove::sUpdateFlyingStatus(); - if (teleport) - { - LLEnvManagerNew::instance().onTeleport(); - } - else - { - LLEnvManagerNew::instance().onRegionCrossing(); - } - // If the newly entered region is using server bakes, and our // current appearance is non-baked, request appearance update from // server. |