diff options
author | Armin Weatherwax | 2010-07-06 15:28:26 +0200 |
---|---|---|
committer | McCabe Maxsted | 2010-07-10 13:10:47 -0700 |
commit | 67de2a2133821dfcc9ae193a666e51919d372f84 (patch) | |
tree | 8cc9d27c2a12bd180703382f8cfee4c0611b708e /linden/indra/newview/llviewermessage.cpp | |
parent | Changes that should make the 'Ban' button in the radar work for EMs as well a... (diff) | |
download | meta-impy-67de2a2133821dfcc9ae193a666e51919d372f84.zip meta-impy-67de2a2133821dfcc9ae193a666e51919d372f84.tar.gz meta-impy-67de2a2133821dfcc9ae193a666e51919d372f84.tar.bz2 meta-impy-67de2a2133821dfcc9ae193a666e51919d372f84.tar.xz |
fix: further objects are not rezzing after login. Reverts 362e10f6c08a68624ca6.
362e10f6c08a68624ca6 is a partial revert of the revert of cad41f1.
Diffstat (limited to 'linden/indra/newview/llviewermessage.cpp')
-rw-r--r-- | linden/indra/newview/llviewermessage.cpp | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp index b1c316d..ecbe0ef 100644 --- a/linden/indra/newview/llviewermessage.cpp +++ b/linden/indra/newview/llviewermessage.cpp | |||
@@ -3331,18 +3331,14 @@ void process_agent_movement_complete(LLMessageSystem* msg, void**) | |||
3331 | 3331 | ||
3332 | // set our upstream host the new simulator and shuffle things as | 3332 | // set our upstream host the new simulator and shuffle things as |
3333 | // appropriate. | 3333 | // appropriate. |
3334 | // Sometimes OpenSim will get here but still fail on a teleport -- MC | 3334 | LLVector3 shift_vector = regionp->getPosRegionFromGlobal( |
3335 | if (regionp != gAgent.getRegion()) | 3335 | gAgent.getRegion()->getOriginGlobal()); |
3336 | { | 3336 | gAgent.setRegion(regionp); |
3337 | LLVector3 shift_vector = regionp->getPosRegionFromGlobal( | 3337 | gObjectList.shiftObjects(shift_vector); |
3338 | gAgent.getRegion()->getOriginGlobal()); | 3338 | gAssetStorage->setUpstream(msg->getSender()); |
3339 | gAgent.setRegion(regionp); | 3339 | gCacheName->setUpstream(msg->getSender()); |
3340 | gObjectList.shiftObjects(shift_vector); | 3340 | gViewerThrottle.sendToSim(); |
3341 | gAssetStorage->setUpstream(msg->getSender()); | 3341 | gViewerWindow->sendShapeToSim(); |
3342 | gCacheName->setUpstream(msg->getSender()); | ||
3343 | gViewerThrottle.sendToSim(); | ||
3344 | gViewerWindow->sendShapeToSim(); | ||
3345 | } | ||
3346 | 3342 | ||
3347 | bool is_teleport = gAgent.getTeleportState() == LLAgent::TELEPORT_MOVING; | 3343 | bool is_teleport = gAgent.getTeleportState() == LLAgent::TELEPORT_MOVING; |
3348 | 3344 | ||